Search found 16 matches
- Mon May 25, 2015 8:01 pm
- Forum: Web Server
- Topic: Extreme slow performance after changing machine ip
- Replies: 20
- Views: 19422
Re: Extreme slow performance after changing machine ip
Turns out httpd hanged because it was trying to connect to MySQL through ipv6 even if my script stated to use ipv4. I disabled ipv6 on the server and the issue had dissipated.
- Mon May 25, 2015 12:05 pm
- Forum: Web Server
- Topic: Extreme slow performance after changing machine ip
- Replies: 20
- Views: 19422
Re: Extreme slow performance after changing machine ip
Running strace shows that httpd hangs a lot for a second, but multiple times: 7013 1.001157 wait4(-1, 0x7fffed2d7b6c, WNOHANG|WSTOPPED, NULL) = 0 7013 0.000063 select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout) 7013 0.111947 wait4(-1, 0x7fffed2d7b6c, WNOHANG|WSTOPPED, NULL) = 0 7013 0.000059 select(0...
- Mon May 25, 2015 11:14 am
- Forum: Web Server
- Topic: Extreme slow performance after changing machine ip
- Replies: 20
- Views: 19422
Re: Extreme slow performance after changing machine ip
I'm thinking that maybe httpd or php stalls the response because of buffer being larger. I'm not sure, I'm really out of ideas of how to fix this or on to what to look into next.
- Mon May 25, 2015 11:10 am
- Forum: Web Server
- Topic: Extreme slow performance after changing machine ip
- Replies: 20
- Views: 19422
Re: Extreme slow performance after changing machine ip
It is. But the browser receives the response in one minute.
- Mon May 25, 2015 10:53 am
- Forum: Web Server
- Topic: Extreme slow performance after changing machine ip
- Replies: 20
- Views: 19422
Re: Extreme slow performance after changing machine ip
Is it just this request that is slow? Or is everything slow? Can you provide the link so we can look it's not a local problem. (maybe in PM) That and a few other pages that are more query intensive, although I added timers in the code and the results are in microseconds: 0.0028798580169678 0.003633...
- Mon May 25, 2015 10:25 am
- Forum: Web Server
- Topic: Extreme slow performance after changing machine ip
- Replies: 20
- Views: 19422
Re: Extreme slow performance after changing machine ip
http://screenshot.vodoosolutions.com/2015-05-25_1321.png The server has 12GB Ram, MySQL uses InnoDb and has 6GB of ram dedicated. PHP 5.4.41, 5.5.43-log MySQL Community Server (GPL) by Remi Apache/2.2.15 (Unix) nginx/1.8.0 Running the same queries in phpmyadmin run in a matter of ms, while the app (...
- Fri May 22, 2015 4:04 pm
- Forum: Web Server
- Topic: Extreme slow performance after changing machine ip
- Replies: 20
- Views: 19422
Re: Extreme slow performance after changing machine ip
Here is the HAR on the slow call { "startedDateTime": "2015-05-22T15:24:59.593Z", "time": 60663.44500007108, "request": { "method": "GET", "url": "http://gameiki.com/search/suggestions/index/keywords/test?is_global=1", "httpVersion": "HTTP/1.1", "headers": [ { "name": "Pragma", "value": "no-cache" }...
- Fri May 22, 2015 3:27 pm
- Forum: Web Server
- Topic: Extreme slow performance after changing machine ip
- Replies: 20
- Views: 19422
Re: Extreme slow performance after changing machine ip
I'm at wits end.
It's not MySQL, Nginx, firewall,php ... what could cause this http://screenshot.vodoosolutions.com/20 ... 2_1826.png With no errors in any log.
It's not MySQL, Nginx, firewall,php ... what could cause this http://screenshot.vodoosolutions.com/20 ... 2_1826.png With no errors in any log.
- Fri May 22, 2015 3:07 pm
- Forum: Web Server
- Topic: Extreme slow performance after changing machine ip
- Replies: 20
- Views: 19422
Re: Extreme slow performance after changing machine ip
Downgraded php from 5.6.9 to PHP 5.4.41, same behaviour.
- Fri May 22, 2015 2:57 pm
- Forum: Web Server
- Topic: Extreme slow performance after changing machine ip
- Replies: 20
- Views: 19422
Re: Extreme slow performance after changing machine ip
I stopped nginx and made httpd work on port 80. Seems to have the same issue, so the problem might reside in httpd itself or php which works as a module.