You are not logged in.
Pages: 1
Hello.
I'm using glpi 0.65, php5.1, mysql 5.0, apache 2, freebsd 5.4
Everything goes smooth for 10-15 minutes. Then glpi hangs - apache consumes almost 100% CPU. It is definetely glpi - lsof shows open files and dirs from alpi folder.
After apachectl restart everything goes well.
Is there a workaround?
Offline
Don't know if it is of glpi itself. May be the reason is somewhere else, may be some lock in DB?
The diagnosis was as follows: first httpd was monitored with 'top', then lsof -p HTTPD_PID was used to get a list of files. There I saw a socket connection to mysql. Then I've logged to mysql and saw that connection with an 'glpi_user_name'.
Can you give me a glue how to pinpoint the problem?
Offline
Yes. Three scripts in two virtual hosts. But they are working well even despite that strange hangup.
Also I've noted that it hangs after form submit and the data is really getting into database...
Offline
Yes, when it works I see all the queries and so. When I press "Submit" nothing happens. It waits for the server responce.
Also I've noted there are two apache processes in lockf state. Does glpi use some kind of file locking as a sync method?
I can provide all the necessary information if you wish.
--
Sorry for my English. And my French is even worse.
Offline
Offline
memory_limit = 32M
Offline
root@gate: /var#lsof /var/tmp/sess_i6o0q9m4qqamfuinrk6hhfv7l2
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
httpd 25640 www 76u VREG 4,16 368 17775 /var/tmp/sess_i6o0q9m4qqamfuinrk6hhfv7l2
httpd 25643 www 76u VREG 4,16 368 17775 /var/tmp/sess_i6o0q9m4qqamfuinrk6hhfv7l2
httpd 25661 www 76u VREG 4,16 368 17775 /var/tmp/sess_i6o0q9m4qqamfuinrk6hhfv7l2
httpd 25867 www 76uW VREG 4,16 368 17775 /var/tmp/sess_i6o0q9m4qqamfuinrk6hhfv7l2
It seems there is an exclusive write lock on a session file. And all the rest sessions are working fine.
Offline
I use default settings for sessions handling. What settings can affect it?
Last edited by glyph (2006-04-13 13:53:59)
Offline
http://www.sitepoint.com/blogs/2006/02/ … onditions/ -- seems I'm facing something like this.
Offline
yes it is possible...
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
yes it is possible...
What should I do? Can I help tracking this bug?
Will downgrade help me?
Offline
Reinstalled glpi on another machine - Windows (no comments), php4, mysql4. Works fine. Will follow up this later. Any help is highly welcome.
Last edited by glyph (2006-04-17 15:46:12)
Offline
Pages: 1