Joined: 21 Dec 2010
|Posted: Sun Sep 11, 2011 10:29 pm Post subject: listener_remove stability
Hi, I use listener_add and listener_remove to call a PHP script. This PHP script logs a 'session' into a MySQL database.
listener_add creates the row, with a start time, and listener_remove locates that row, then updates it with an end time.
Occasionally, listener_remove is never called. I can't narrow it down to any specific circumstances.
The icecast instance doesn't ever close, and the MySQL database is on the same server, so networking isn't an issue.
Any ideas as to what circumstances this could happen in?
EDIT: I'm looking at approximately 200 rows out of 5000 that aren't being closed with an end time.
EDIT2: what's the max value the "client" string passed by listener_add and listener_remove supports? Does it reset to 1 once it reaches this value?