search for: mysqlstatsdbclose

Displaying 2 results from an estimated 2 matches for "mysqlstatsdbclose".

2013 Aug 06
0
MySQL Stats
Icecast tries to ping MySQL DB every 10 seconds (#define MYSQLSTATS_DBCHECK_INTERVAL 10) using mysql_ping() native function. If the DB doesn't answer, it closes the connection calling mysqlStatsDBClose() to free memory and wait for the next ping. The next time, it will find the DB connection closed so it tries to reopen it to have MySQL Stats working again, but there is an increment of an internal counter. Icecast tries to "reopen" MySQL connection for a maximum of 3 times, as defined i...
2013 Aug 06
2
MySQL Stats
Lucca, What happend if the DB server is not up? Thanks, Ale 2013/8/6 Basil Mohamed Gohar <basilgohar at librevideo.org> > On 08/06/2013 02:09 PM, Luca Cireddu wrote: > > Just a little preview of the browsing interface: > > https://github.com/sardylan/icecast-mysql-phpstats/wiki > > > > As you can see, I created a new repository for the PHP part of stats. >