QueueMetrics > Running QueueMetrics

Popup in Queue Details not working

(1/3) > >>

AndyS:
This used to work just fine.

Now we're getting the 404 shown below.  I restarted QM a couple of times but it doesn't make any difference.  We're running 1.4.0 on tribox 2.2.

The error occurs when you select the magnifying glass icon on a record in Queue Details.  It happens for every record I've attempted to select.  The popup box opens but after a timeout the 404 occurs.

Any ideas?



HTTP Status 404 - /qm/$WEBAPP/sys_errore.jsp

--------------------------------------------------------------------------------

type Status report

message /qm/$WEBAPP/sys_errore.jsp

description The requested resource (/qm/$WEBAPP/sys_errore.jsp) is not available.


--------------------------------------------------------------------------------

Apache Tomcat/5.0.28




Andy.

QueueMetrics:
You should send over a sample of your logs - see http://astrecipes.net/index.php?n=251 .
Very likely this is a system crash that gets somehow hidden.

AndyS:
Thanks Lorenzo.

Yes, you're right - it's an out of memory error (Java Heap).

It would still be great to get the 404 fixed though.

Andy.

AndyS:
Further investigation revealed that opening this popup is taking a large amount of memory and the results seem odd.

The memory settings initially were -Xms128M -Xmx128M.  These settings had worked previously for this popup.
I increased them to -Xms192M -Xmx256M and still received the failure.
I increased them to -Xms192M -Xmx384M and the operation completed successfully (although it took a number of seconds to complete). 

On inspecting the output of the command, I noticed that there were many links to the sound file, each link having the same name.  Here's the HTML from the popup box:

--- Code: ---<html>
<head>
<title>Call Detail</title>
<style>
body, TD {
BACKGROUND: #FFFFFF;
COLOR: #333333;
MARGIN: 0px;
PADDING: 0px;
SPACING: 0px;
        font-family: Verdana;
}

body {
    text-align: center;
}

.red {
color: red;
}

.actButton {
BACKGROUND: white;
font-family: Verdana, Arial, Helvetica, sans-serif; 
font-size: 12px;
}


table.ST {
background-color: white;
border: 1px #000000 solid;
border-collapse: collapse;
border-spacing: 0px;
align: center;       
}

.ST_TRH {
background-color: #99CCCC;
border: 1px #000000 solid;
font-family: Verdana;
font-weight: bold;
font-size: 12px;
color: #404040;
text-align: left;
}

.ST_TR0, .ST_TR1{
        border-bottom: 1px #6699CC dotted;
text-align: left;
font-weight: normal;
font-size: 12px;
color: #404040;
background-color: #fafafa;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 8px;
padding-right: 0px;
}


</style>
</head>
<body>


<h1>Call detail</h1>

<table border=0 class="ST">
<tr class='ST_TR0'><td ><nobr><b>Asterisk Call ID:</b>&nbsp; &nbsp;</nobr></td>
    <td >1194447369.19</td></tr>


<tr class='ST_TR0'><td ><nobr><b>Date and time:</b>&nbsp; &nbsp;</nobr></td>
    <td >07/11/2007 - 07:01:58</td></tr>

<tr class='ST_TR0'><td ><nobr><b>Caller ID:</b>&nbsp; &nbsp;</nobr></td>
    <td >2127369027</td></tr>

<tr class='ST_TR0'><td ><nobr><b>Handled by:</b>&nbsp; &nbsp;</nobr></td>
    <td >agent/2124</td></tr>

<tr class='ST_TR0'><td ><nobr><b>Duration:</b>&nbsp; &nbsp;</nobr></td>
    <td >308 sec.</td></tr>

<tr class='ST_TR0'><td ><nobr><b>Waiting time:</b>&nbsp; &nbsp;</nobr></td>
    <td >2 sec.</td></tr>

<tr class='ST_TR0'><td ><nobr><b>Disconnection cause:</b>&nbsp; &nbsp;</nobr></td>
    <td >Caller disconnected</td></tr>

<tr class='ST_TR0'><td ><nobr><b>Transferred to:</b>&nbsp; &nbsp;</nobr></td>
    <td ></td></tr>

<tr class='ST_TR0'><td ><nobr><b>URL:</b>&nbsp; &nbsp;</nobr></td>
    <td ></td></tr>

<tr class='ST_TR0'><td ><nobr><b>Status code:</b>&nbsp; &nbsp;</nobr></td>
    <td ></td></tr>

<tr class='ST_TR0'><td ><nobr><b>Srv</b>&nbsp; &nbsp;</nobr></td>
    <td ></td></tr>



<tr class="ST_TR0"><td colspan="2">
<b>Sound files:</b><br>


 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>
 - <a href='qm_popup_streamAudio.do?/var/spool/asterisk/monitor/q7001-20071107-065636-1194447369.19.WAV' target='audio'>q7001-20071107-065636-1194447369.19.WAV</a><br>


</td></tr>


</table>
<p>
<INPUT TYPE='button'
    CLASS='actButton'
    VALUE="Close"
    onClick="window.close();"
      STYLE="width: 60px" >


</body>


--- End code ---


This doesn't feel as though it's working properly.  Why would this single popup require so much memory, and why are there so many links?

Andy.

QueueMetrics:
The filename /var/spool/asterisk/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/monitor/q7001-20071107-065636-1194447369.19.WAV looks a bit sick.  :P
Are you sure you are not having a loop using a hard or symbolic link in the /var/spool/asterisk/monitor that loops back again and again?

Navigation

[0] Message Index

[#] Next page

Go to full version