[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:39:06 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15730
======================================================================
Reported By: zmehmood
Assigned To: seanbright
======================================================================
Project: Asterisk
Issue ID: 15730
Category: Core/ManagerInterface
Reproducibility: always
Severity: major
Priority: normal
Status: closed
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:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-08-17 16:27 CDT
Last Modified: 2009-08-18 11:39 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
======================================================================
----------------------------------------------------------------------
(0109219) svnbot (reporter) - 2009-08-18 11:39
https://issues.asterisk.org/view.php?id=15730#c109219
----------------------------------------------------------------------
Repository: asterisk
Revision: 212764
_U trunk/
U trunk/main/manager.c
------------------------------------------------------------------------
r212764 | seanbright | 2009-08-18 11:39:06 -0500 (Tue, 18 Aug 2009) | 18
lines
Merged revisions 212763 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r212763 | seanbright | 2009-08-18 12:36:00 -0400 (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=212764
Issue History
Date Modified Username Field Change
======================================================================
2009-08-18 11:39 svnbot Checkin
2009-08-18 11:39 svnbot Note Added: 0109219
======================================================================
More information about the asterisk-bugs
mailing list