i have a Pentium D 820, 2GB Ram at LT where i am hosting a few proxies. Using Centos and Directadmin.
It's realy fast and i am happy with it. The only problem i am facing is that load is jumping up to 60 sometimes but just for a few seconds. Especially when a lot of people are using the proxy and it slows down a bit. That affects only the proxified pages and not a few personal html sites i also host there.
At the moment i am seeing in top that the CPU usage varies from 0,2 to 8, 12, 21 etc but just for a second or two
I have a proxy site which is hosted with a proxy host, do i have to use proxy hosting as i have an account with another host i might want to use. The proxy hosting has run out.
Are there some simple things that we can do or perhaps request our server management to do to optimize our server? Not sure where to start or what to ask so would like to learn some more before speaking with the server management company. Often times, you need to know the right questions to ask.
The my sql seems to take much load in my VPs, configuration file is as follows
[mysqld]
set-variable=local-infile=0 datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock user=mysql # Default to using old password format for compatibility with mysql 3.x # clients (those using the mysqlclient10 compatibility package). old_passwords=1
I am having problems with apache going down at least once a day. In Plesk there is a watchdog that monitors the service and then restarts it, but tries 5 times and fails, so apache will still be down and monitoring released. I really don't know what is causing this problem, maybe I could get some help? (Server specs at bottom of post, hope this is all you need)
error_log shows:
Code: [Thu Oct 04 12:05:43 2007] [notice] caught SIGTERM, shutting down [Thu Oct 04 12:05:48 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Thu Oct 04 12:05:48 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Oct 04 12:05:48 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Oct 04 12:05:48 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Oct 04 12:05:48 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Oct 04 12:05:48 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Oct 04 12:05:48 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Oct 04 12:05:48 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Oct 04 12:05:48 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Oct 04 12:05:48 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Oct 04 12:05:48 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Oct 04 12:05:48 2007] [warn] Init: SSL server IP/port conflict: default-69-64-36-86:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:271) vs. webmail:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:344) [Thu Oct 04 12:05:48 2007] [warn] Init: SSL server IP/port conflict: default-69-64-37-16:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:111) vs. *****:443 (/var/www/vhosts/*****/conf/httpd.include:12) [Thu Oct 04 12:05:48 2007] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!! [Thu Oct 04 12:05:48 2007] [notice] Digest: generating secret for digest authentication ... [Thu Oct 04 12:05:48 2007] [notice] Digest: done [Thu Oct 04 12:05:48 2007] [notice] mod_python: Creating 4 session mutexes based on 512 max processes and 0 max threads. [Thu Oct 04 12:05:48 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Oct 04 12:05:48 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Oct 04 12:05:48 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Oct 04 12:05:48 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Oct 04 12:05:48 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Oct 04 12:05:48 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Oct 04 12:05:48 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Oct 04 12:05:48 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Oct 04 12:05:48 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Oct 04 12:05:48 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Oct 04 12:05:48 2007] [warn] Init: SSL server IP/port conflict: default-69-64-36-86:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:271) vs. webmail:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:344) [Thu Oct 04 12:05:48 2007] [warn] Init: SSL server IP/port conflict: default-69-64-37-16:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:111) vs. *****:443 (/var/www/vhosts/*****/conf/httpd.include:12) [Thu Oct 04 12:05:48 2007] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!! [Thu Oct 04 12:05:48 2007] [notice] Apache configured -- resuming normal operations [Thu Oct 04 12:06:40 2007] [warn] child process 25195 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25197 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25204 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25207 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25219 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25228 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25232 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25244 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25246 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25257 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25261 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25262 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25265 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25275 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25278 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25281 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25283 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25287 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25351 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25291 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25300 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25302 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25307 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25355 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25365 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25374 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25376 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25377 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25408 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25412 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25423 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25430 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25434 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25437 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25460 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25463 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25474 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25475 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25476 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25565 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25478 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25480 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25481 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25483 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25484 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25485 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25486 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25583 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25489 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25490 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25491 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25493 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25590 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:40 2007] [warn] child process 25591 still did not exit, sending a SIGTERM [Thu Oct 04 12:06:42 2007] [notice] caught SIGTERM, shutting down [Thu Oct 04 12:06:46 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Thu Oct 04 12:06:46 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Oct 04 12:06:46 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Oct 04 12:06:46 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Oct 04 12:06:46 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Oct 04 12:06:46 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Oct 04 12:06:46 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Oct 04 12:06:46 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Oct 04 12:06:46 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Oct 04 12:06:46 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Oct 04 12:06:46 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Oct 04 12:06:46 2007] [warn] Init: SSL server IP/port conflict: default-69-64-36-86:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:272) vs. webmail:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:345)
it's getting to the point where I need to optimize MySQL to better handle a busy server.
These days it seems MySQL is using 30% - 60% CPU almost constantly. But, the good news is that I've got 4 gigs of ram on this box and their seems to be an access of 600mb free constantly throughout the day.
Is it possible to tweak MySQL to a little more RAM dependent and take some of the load off the CPU? It seems MySQL wont go over 300mb of ram at any given time.. I'm already working on optimizing the SQL Querys on the web page itself.
my.cnf (4.1.22-standard):
# Default to using old password format for compatibility with mysql 3.x # clients (those using the mysqlclient10 compatibility package). # old_passwords=1
Are there any services where an ADMIN can monitor DB usage on system and make some recommendations or even find SQL that is poorly written ...
I have a DUAL harpertown, 10GB RAM, and RAID
I have a typical, gallery, busy VB forum, and video script...
THe site traffic has not increased much but my Memory keeps getting chewed up... i already did some tuning that VBULLLETIN suggested... but the memory still goes... i need a tool or someone to just monitor the server for a day and grab as much diagnostic info as possible..
I suspect that its a single query giving problems cuz i have some custom coded pages...
I don't want to split the DB and HTTP request on diff servers cuz the traffic that i get shouldn't warrant it... for now...
I know this is asked loads on the forums, but so far I have no real solutions. Yes, I need a proxy vps. We want to start quite small, this is what we must have (don't go posting about whether we use it or not, we want it ):
256mb private RAM (not bothered about burst) 5gig space minimum 150 minimum bandwidth (more = better) public proxies allowed (most vps providers I have contacted don't) unmanaged (basic support nice but not needed)
I think that's it, oh price, I know it's v.low but there are some hosts, there must be more: $25/month
how much traffic the GoDaddy Economy Plan can handle. I currently am hosting a proxy using this plan and was wondering if and when I will need to upgrade....
When will I have enough traffic that I need a dedicated server?
Looking for dedicated server that allows adult and proxy hosting and comes with PostgreSQL. Really looking for a more established host and not some one that’s going to steal my money and run. am open for your ideas on what you think is the best.
I have a 512mb cPanel VPS and would like to try and save a bit more ram, I have made the below changes to the httpd.conf and have also turned spamd, entropychat, melange, mailman, the only webstats I have is AWStats
Code: MinSpareServers 2 MaxSpareServers 5 StartServers 3 Can anyone recommend any other changes to save some more ram ?
For anyone wanting to know, the VPS is being used to serve my websites
I remember seeing a website/forum where you couldn't post your server stats and httpd.conf settings and experts would give advice on settings you should use.
Does anyone know the url to this site, or site similar to it
I optimized a mysql table of 2 million records and about 500MB.. it took about 15 minutes.. However, on the same DB now i have another huge table of 88 million records, it size is 2.2 GB and it has about 30 MB to optimize... my questions..
1.- How can I speed up the optimization process so it can take the less possible time? any tweaks to my.cnf?
2.- Should I repair it using phpmyadmin or just from the shell?
3.- Should I stop http traffic during this optimization?
This is a dedicated db mysql server that handles a large VB forum with 5-8 users online average:
I'm outsourcing some works overseas and my oversea employees are directly contacting the customer to discuss his needs. Everything is fine except when a client sees the email IP address (he is dealing with a local company, how come he is being emailed me from India or some similar places).
So I decided to create a proxy server for the oversea employees. I need the one that requires the browser setting change to have all the traffic passing through the server/VPS, therefore the IP will be the IP of the server and there's no way to find the original IP (of course no problem is it exists in the proxy server, but not showing in any way to the customer).
The problem is I absolutely have no idea how to do this.
- Can this be accomplished on a VPS or a server is required?
- Do I need a Linux or Windows OS?
- Do I need any software? If so, could you recommend some.