[asterisk-bugs] [Asterisk 0015730]: [patch] manager keeps creating /tmp/ast-ami-XXXXXX files (without deleting) when a single manager client remains logged in
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Aug 18 11:36:31 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15730
======================================================================
Reported By: zmehmood
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 15730
Category: Core/ManagerInterface
Reproducibility: always
Severity: major
Priority: normal
Status: new
Asterisk Version: 1.4.26.1
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-08-17 16:27 CDT
Last Modified: 2009-08-18 11:36 CDT
======================================================================
Summary: [patch] manager keeps creating /tmp/ast-ami-XXXXXX
files (without deleting) when a single manager client remains logged in
Description:
Using web-meetme to manage conferences on asterisk. Web-meetme's cbEnd.php
script logs in to the manager interface to receive event notifications.
cbEnd.php remains logged in and during this time /tmp is getting filled up.
There are 4-6 /tmp/ast-ami-xxxx files bing created every minute.
exiting the cbEnd.php script does not remove these /tmp/files neither does
restarting asterisk.
Same error when using 1.4.26
======================================================================
----------------------------------------------------------------------
(0109218) svnbot (reporter) - 2009-08-18 11:36
https://issues.asterisk.org/view.php?id=15730#c109218
----------------------------------------------------------------------
Repository: asterisk
Revision: 212763
U branches/1.4/main/manager.c
------------------------------------------------------------------------
r212763 | seanbright | 2009-08-18 11:36:30 -0500 (Tue, 18 Aug 2009) | 11
lines
Delay the creation of temporary files until we have a valid manager
command to handle.
Without this patch, asterisk creates a temporary file before determining
if the
specified command is valid. If invalid, we weren't properly cleaning up
the file.
(closes issue https://issues.asterisk.org/view.php?id=15730)
Reported by: zmehmood
Patches:
M15730.diff uploaded by junky (license 177)
Tested by: zmehmood
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=212763
Issue History
Date Modified Username Field Change
======================================================================
2009-08-18 11:36 svnbot Checkin
2009-08-18 11:36 svnbot Note Added: 0109218
======================================================================
More information about the asterisk-bugs
mailing list