Welcome! Log In Create A New Profile

Advanced

Re: 100% CPU Usage (on all 8 cores)

March 19, 2011 03:18PM
I have done some more debugging, and it appears the issue is with the VHosts... As soon as I comment out this line:

include "/etc/nginx/vhosts/*";

and restart nginx, htop reports normal usage. CPU + Mem all fine.

I think I am going to poke around a bit more, but it seems there is a problem with the way NginX converts apache VirtualHosts to NginX VirtualHosts.

Oh another thing, the errors that should be ignorable are actually not ignorable... They all dissappeared. My guess is that someone went around telling people they can ignore errors like this:

nginx: [warn] conflicting server name "79.142.67.113" on 79.142.67.113:80, ignored
nginx: [warn] conflicting server name "79.142.67.113" on 79.142.67.113:80, ignored
nginx: [warn] conflicting server name "79.142.67.113" on 79.142.67.113:80, ignored
nginx: [warn] conflicting server name "79.142.67.113" on 79.142.67.113:80, ignored
nginx: [warn] conflicting server name "79.142.67.113" on 79.142.67.113:80, ignored
nginx: [warn] conflicting server name "79.142.67.113" on 79.142.67.113:80, ignored
nginx: [warn] conflicting server name "79.142.67.113" on 79.142.67.113:80, ignored
nginx: [emerg] bind() to 79.142.67.110:80 failed (98: Address already in use)
nginx: [emerg] bind() to 79.142.67.113:80 failed (98: Address already in use)
nginx: [emerg] bind() to 79.142.67.112:80 failed (98: Address already in use)
nginx: [emerg] bind() to 79.142.67.110:80 failed (98: Address already in use)
nginx: [emerg] bind() to 79.142.67.113:80 failed (98: Address already in use)
nginx: [emerg] bind() to 79.142.67.112:80 failed (98: Address already in use)
nginx: [emerg] bind() to 79.142.67.110:80 failed (98: Address already in use)


Those errors can NOT be ignored, according to my findings... Oh and by the way thats only half the errors, but they all seem to be the same or similair to those ones.

Is there any 3rd party tool to convert Apache VHosts to NginX Vhosts? I am googling as we speak :)

Thanks for your help, it seems you may have nudged me in the right direction :)
Subject Author Posted

100% CPU Usage (on all 8 cores)

kthxbai2u March 18, 2011 07:30PM

Re: 100% CPU Usage (on all 8 cores)

"C. Bergström" March 19, 2011 12:06AM

Re: 100% CPU Usage (on all 8 cores)

kthxbai2u March 19, 2011 02:28PM

Re: 100% CPU Usage (on all 8 cores)

kthxbai2u March 19, 2011 02:29PM

Re: 100% CPU Usage (on all 8 cores)

kthxbai2u March 19, 2011 03:18PM

Re: 100% CPU Usage (on all 8 cores)

kthxbai2u March 19, 2011 07:34PM

Re: 100% CPU Usage (on all 8 cores)

Jim Ohlstein March 19, 2011 04:38PM

Re: 100% CPU Usage (on all 8 cores)

Christopher Arnold March 19, 2011 04:48PM

Re: 100% CPU Usage (on all 8 cores)

Jim Ohlstein March 19, 2011 04:54PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 291
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready