Remove Apache Usage Log In DirectAdmin
Jun 8, 2009is it possible to remove or reset Apache Usage Log in DirectAdmin?
because it takes large space on my server and it increase heavily everyday
any idea , I can't find anything on DA forums!
is it possible to remove or reset Apache Usage Log in DirectAdmin?
because it takes large space on my server and it increase heavily everyday
any idea , I can't find anything on DA forums!
Is there a way to see which user is using how much cpu resources in DirectAdmin?
View 5 Replies View RelatedI was just wondering about DA memory load. Like CPANEL load around 300mb and LXADMIN about 20mb. I was going to get VPS with 256 only to host 40-50 church sites with just static html, not dynamic or anything. Greatly appreciated with your input. I'm still learning all of this
View 8 Replies View RelatedHas anyone done this or currently running this setup? to try it with my directadmin server first but havent found very good documentation or howtos. Ive looked the last week or so and havent really found anything helpful. So if anyone is running such a setup Id like to know how you did it and how much better if any it is.
View 0 Replies View RelatedI get the following error when let my site connect to my database: Access denied for user 'apache'@'localhost' (using password: NO)
But when im running lil test script which connect to my localhost with the same passwords and it gives the status 'Connection OK' (im running on admin account, made a MySQL account with DA)
Code:
<?php $link = mysql_connect('localhost','admin_removed','removed'); if (!$link) { die('Could not connect to MySQL: ' . mysql_error()); } echo 'Connection OK'; mysql_close($link); ?>
I use url http://myurl:8020/ERC to access application and I am able to. But I dont want to use port number in the URL.Would like to access application using http://myurl/ERC . I referred to one of the post and added below entries to httpd.conf file.
ProxyRequests Off
ProxyPass /ERC http://myurl:8020/ERC
ProxyPassReverse /ERC http://myurl:8020/ERC
But I am still not able to access http://myurl/ERC.LoadModule entries are enabled and I have restarted apache.
I've modified my old website, and now need to remove the phrase "cheap-products"
Some example url's
randomdomain.com/product-1000-cheap-products/
randomdomain.com/product-1001-cheap-products/
randomdomain.com/product-1002-cheap-products/
How do I make it so it will forward (seo wise) to the following
randomdomain.com/product-1000/
randomdomain.com/product-1001/
randomdomain.com/product-1002/
How to Remove Apache File Not Exist Errors
Here is the Reply of the Sys Admin
Dear Customer,
I am sorry. We are not able to resolve the File Does Not Exist errors for you. You have to do it own.
The unique errors that you have today for Apache are as follows:
client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind
File does not exist: /usr/local/apache/htdocs
File does not exist: /usr/local/apache/htdocs/501.shtml
File does not exist: /usr/local/apache/htdocs/images, referer:
[url]
File does not exist: /usr/local/apache/htdocs/jailbreak-iphone-3-0-1-with-redsn0w
File does not exist: /usr/local/apache/htdocs/robots.txt
Invalid method in request x16x03x01
Invalid method in request x80bx01x03x01
# Invalid URI in request alt="Follow%20via%20FreiendFFeed"%20title="Follow%20via%20FriendFeed"%20border="0"%20height="16"%20width="16"%20/>Home
Top%20StuffiPhoneWindows%207FirefoxVistaTipsWordpressSubscribeSitemapAdvertise xc2xa0xc2xa0xc2xa0Vertical1240899%20=%20false;ShowAdHereBanner1240899%20=%20true;RepeatAll1240899%20=%20false;NoFollowAll1240899%20=%20false;Ban nerStyles1240899%20=%20new%20Array(%20%20%20%20"a{display:block;font-size:11px;color: HTTP/1.1
PHP Fatal error: Call to a member function get() on a non-object in /home/technob2/public_html/wp-includes/cache.php on line 93
PHP Fatal error: Call to a member function get() on a non-object in /home/technob2/public_html/wp-includes/cache.php on line 93, referer:
[url]
PHP Fatal error: Call to a member function get() on a non-object in /home/technob2/public_html/wp-includes/cache.php on line 93, referer:
[url]
PHP Fatal error: Call to a member function get() on a non-object in /home/technob2/public_html/wp-includes/cache.php on line 93, referer:
[url]
PHP Fatal error: Call to a member function get() on a non-object in /home/technob2/public_html/wp-includes/cache.php on line 93, referer:
[url]
request failed: error reading the headers
I would advise that you resolve as many of these errors as you are able.
As to what caused the load on your server, I can't say. There is nothing in your logs to indicate the source of the problem. During the 1PM period when your server overloaded last there were only 29 errors in Apache. The errors that occurred during this time would not cause excessive load.
I have installed a script to monitor your server. If this load issue occurs again within one week or before your next reboot, whichever comes first, we should be able to determine the source from the script's logs in /var/log/sys-snap.sh.
How would I Remove/Modify the Apache version from Domaintools?
Heres what I mean:
[url]
I am using 2.2.29 in Windows.Trying to remove one cookie in a request header before passing the request to the application, but having trouble. The cookie is in the middle of the request header.
View 1 Replies View RelatedHow can i remove "Connection and keep-alive" from response headers ? I am using Apache http server to load balance two tomcat nodes
Apache Server- Apache/2.4.2
mod_jk - 1.2.27
Apache tomcat - Apache Tomcat/7.0.23
JDK - 1.6
I have also enabled SSL in the apache http server using mod_ssl. The load balancing works fine, but in all the response headers these connection attributes are added "Connection: keep-alive keep-alive: timeout=5"
Is there a way to remove these headers? I do not want these headers to be added in the response. I have also tried mod_header to unset these headers, but no use. HTTP/1.1 protocol is being used, so eventhough the connection is not present in the header, the connection would should be considered as persistent. Why is apache sending these attributes explicitly in each response. I just want to get rid of these attribute...
my grunted memory for apatchi is 51 meg
i want make him 256meg
because the vps its alwayes down
see this please
HTML Code:
29890 nobody 0
2.5
0.1 /usr/local/apache/bin/httpd -k start -DSSL
31854 nobody 0
2.3
0.1 /usr/local/apache/bin/httpd -k start -DSSL
31766 nobody 0
1.8
0.1 /usr/local/apache/bin/httpd -k start -DSSL
32043 nobody 0
1.7
0.1 /usr/local/apache/bin/httpd -k start -DSSL
25921 nobody 0
1.4
0.1 /usr/local/apache/bin/httpd -k start -DSSL
32014 nobody 0
1.3
0.1 /usr/local/apache/bin/httpd -k start -DSSL
25998 nobody 0
1.3
0.1 /usr/local/apache/bin/httpd -k start -DSSL
30388 nobody 0
1.0
0.1 /usr/local/apache/bin/httpd -k start -DSSL
I have a server running Apache 2 with php 5 as an apache module. There are 2 PHP scripts that get about 500k hits a day. These scripts have to parse data out of a remote webpage and display it on an image. They used to make loads go up to 40-50, but I have added a cache which only updates every 4 hours. This helped a lot, but loads are still around 10 when the script updates, and it slows down the server. Memory usage is fine.
The server is an AMD Athlon 64 2800+ with 1 gb of ram and an 80GB SATA hard drive.
Here's `top` when the cache had just been cleared.
Quote:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
28004 named 16 0 121m 11m 3796 S 12.3 1.3 0:00.96 apache2
28003 named 15 0 121m 11m 3740 S 12.0 1.3 0:01.00 apache2
5316 tarball 15 0 43032 29m 2320 S 11.3 3.1 326:08.68 ircd
27998 named 16 0 121m 11m 3808 S 11.3 1.3 0:00.51 apache2
27989 named 15 0 121m 11m 3800 S 10.3 1.3 0:01.14 apache2
28007 named 16 0 121m 11m 3776 R 8.0 1.2 0:00.24 apache2
28008 named 15 0 121m 11m 3776 S 7.0 1.2 0:00.22 apache2
27979 named 16 0 121m 11m 3752 R 6.0 1.3 0:02.06 apache2
27983 named 16 0 121m 11m 3748 R 6.0 1.3 0:01.94 apache2
27985 named 15 0 121m 11m 3748 S 6.0 1.3 0:01.05 apache2
27992 named 16 0 121m 11m 3792 S 5.0 1.3 0:00.33 apache2
27980 named 15 0 121m 11m 3796 R 2.3 1.3 0:03.24 apache2
28009 named 15 0 121m 11m 3796 S 1.7 1.3 0:00.82 apache2
27715 root 15 0 5192 1164 844 R 0.3 0.1 0:00.94 top
27960 named 15 0 121m 11m 3808 S 0.3 1.3 0:01.42 apache2
27984 named 15 0 121m 11m 3804 S 0.3 1.3 0:01.94 apache2
27987 named 15 0 121m 11m 3796 S 0.3 1.3 0:01.04 apache2
28006 named 15 0 121m 10m 3292 S 0.3 1.2 0:00.50 apache2
Idle CPU usage usually goes anywhere from 30%-0%. Is there any way to limit apache from using more than 75% cpu, or any other ways to drop cpu usage?
i have one centos dedicated server and cpanel i will going to apache status is very request link and 2 site are very high in the list and my apache worked very hard and going to down any hours of your seems i must how control it?
View 7 Replies View RelatedI currently have 2 VPSs that I'm monitoring and I noticed that on one of them the memory usage is much higher than the other which doesn't make sense to me. I tracked the high memory usage to the Apache processes.
Here's the overview of the VPSs:
LiquidWeb VPS- 512MB RAM, 10 Sites with minimal usage.
Average httpd process (Owner Priority Cpu% Mem% Command):
nobody 0 0.0 1.2 /usr/local/apache/bin/httpd -k start -DSSL
Virpus VPS- 384MB RAM, 61 sites with moderate usage.
Average httpd process (Owner Priority Cpu% Mem% Command):
nobody 0 0.0 0.3 /usr/local/apache/bin/httpd -k start -DSSL
Both Apache configurations are identical, the only difference besides the hardware is that LiquidWeb runs CentOS4.7 and Virpus runs CentOS5.2, any ideas? It's not to big of a deal since I'm not near my limit for either of them but I was just curious.
tell me what the average usage of the CPU and RAM be from apache?
User 'Nobody' (Which I presume is apache) is using 13% CPU and 38.98% of RAM. Is this normal or is it well overloaded?
I've hired *name* to take care of my server, but it's just getting so frustrating, as it seems they can't fix my server/optimize it correctly.
I just want some input as to what the problem is here.
I got them to install lighttpd along with xcache.
After about 15-18 hours, the server's CPU slowly increases to be using 90-90%, giving me the 500 Internal Server Error.
I've asked them to optimize xcache and lighttpd, but I keep getting these responses:
Quote:
The should be pretty optimized. Xcache has limited optimization features.
Quote:
Lighttpd itself is pretty optimized, the problem is php. Php runs as its own binary and theres not many parameters that can be tweaked.
Is that even correct?
-------------------------
So I got them to enable apache, and disable lighttpd.
This time, it's the other way around.
My ram get's completely used up, forcing the server to use Swap; making the load shoot to 50+. CPU usage is fine the entire way.
-------------------------
This has been going back and forth, enabling/disabling lighttpd and re-enabling apache but a problem always comes up each time.
Am I asking for too much?
Server specs;
Intel C2D E6400
4GB Ram
There is only one IPB board on this server - nothing else.
Average users is 70-200 users within 15 minutes.
This is what I'm getting when lighttpd is on:
Code:
top - 22:56:02 up 18:46, 1 user, load average: 23.38, 22.84, 22.44
Tasks: 117 total, 17 running, 100 sleeping, 0 stopped, 0 zombie
Cpu(s): 95.0%us, 4.3%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.2%hi, 0.5%si, 0.0%st
Mem: 4147196k total, 1346888k used, 2800308k free, 203144k buffers
Swap: 2907756k total, 0k used, 2907756k free, 712584k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2401 mysql 15 0 318m 107m 3868 S 44 2.6 49:02.02 /usr/libexec/mysqld --defaults-file=/etc/my.cnf --basedir=/usr --datadir=/var/lib
3279 root 15 0 27712 15m 2900 S 12 0.4 10:33.81 /usr/local/lighttpd/bin/php-cgi
3272 root 16 0 29752 16m 2908 R 11 0.4 10:15.94 /usr/local/lighttpd/bin/php-cgi
3266 root 15 0 27536 14m 2920 S 11 0.4 10:40.14 /usr/local/lighttpd/bin/php-cgi
3270 root 16 0 27624 14m 2908 R 11 0.4 10:36.71 /usr/local/lighttpd/bin/php-cgi
3267 root 16 0 27796 14m 2972 R 10 0.4 10:35.22 /usr/local/lighttpd/bin/php-cgi
3268 root 15 0 28148 15m 3112 S 10 0.4 10:49.86 /usr/local/lighttpd/bin/php-cgi
3276 root 16 0 27696 15m 2900 R 10 0.4 10:29.73 /usr/local/lighttpd/bin/php-cgi
3269 root 16 0 28312 15m 2916 R 10 0.4 10:23.57 /usr/local/lighttpd/bin/php-cgi
3274 root 16 0 27924 15m 2912 R 10 0.4 10:44.51 /usr/local/lighttpd/bin/php-cgi
3275 root 16 0 29368 16m 2928 R 9 0.4 10:41.84 /usr/local/lighttpd/bin/php-cgi
3278 root 15 0 29432 16m 2876 S 9 0.4 10:28.52 /usr/local/lighttpd/bin/php-cgi
3271 root 16 0 26784 14m 2900 R 9 0.3 10:41.61 /usr/local/lighttpd/bin/php-cgi
3277 root 16 0 27156 14m 2928 R 9 0.4 10:31.07 /usr/local/lighttpd/bin/php-cgi
3265 root 15 0 28408 15m 2880 S 8 0.4 10:46.89 /usr/local/lighttpd/bin/php-cgi
3280 root 16 0 27036 14m 2880 R 8 0.3 10:43.20 /usr/local/lighttpd/bin/php-cgi
3273 root 15 0 24676 12m 2952 R 8 0.3 10:43.57 /usr/local/lighttpd/bin/php-cgi
3262 root 15 0 13356 11m 632 R 3 0.3 3:04.27 /usr/local/lighttpd/sbin/lighttpd -f /etc/lighttpd.conf
1 root 15 0 2032 648 552 S 0 0.0 0:00.36 init [3]
2 root RT 0 0 0 0 S 0 0.0 0:00.00 [migration/0]
3 root 34 19 0 0 0 R 0 0.0 0:00.00 [ksoftirqd/0]
4 root RT 0 0 0 0 S 0 0.0 0:00.00 [watchdog/0]
5 root RT 0 0 0 0 S 0 0.0 0:00.00 [migration/1]
6 root 34 19 0 0 0 S 0 0.0 0:00.00 [ksoftirqd/1]
7 root RT 0 0 0 0 S 0 0.0 0:00.00 [watchdog/1]
8 root 10 -5 0 0 0 S 0 0.0 0:00.00 [events/0]
9 root 10 -5 0 0 0 S 0 0.0 0:00.00 [events/1]
10 root 10 -5 0 0 0 S 0 0.0 0:00.00 [khelper]
11 root 11 -5 0 0 0 S 0 0.0 0:00.00 [kthread]
15 root 10 -5 0 0 0 S 0 0.0 0:00.00 [kblockd/0]
16 root 10 -5 0 0 0 S 0 0.0 0:00.00 [kblockd/1]
I'm running a single Magento website with only around 150 products, and very low traffic, on a VPS with 2 Cores and 4GB of ram. However I am getting constant warning emails about high Apache Memory usage and High CPU usage.
The server and site were working fine, however since the server failed (Power cut on upgrade at the hosts end) and we rebuilt the website I'm getting these warnings, my host said it is just the website and the server needed upgrading... to which I did (server was a 1 core 2GB ram server). However since I've upgraded I'm still getting these warning emails.
Here is the latest one: URL...
Code:
4951 apache 20 0 441m 137m 6556 S 0.0 3.6 2:28.77 httpd
4952 apache 20 0 443m 139m 7168 S 0.0 3.6 2:43.72 httpd
7377 apache 20 0 358m 54m 6576 S 0.0 1.4 1:25.76 httpd
7692 apache 20 0 433m 129m 6588 S 0.0 3.4 1:20.64 httpd
[code]....
I'm really new to VPS's and plesk so I'm wondering what I can do to try and track down what is causing these high usage as I'm 100% certain the site was fine before. The server has default build both before and after the fail.
Server Information:
OSCentOS 6.5 (Final)
Panel version11.5.30 Update #47
2 Cores
4GB Ram
Are there any tools within plesk that I can use to see what is causing these issues? It's making the website load extremely slow.
ive got a site which auto creates subdomains and installs a script automaticly and inserts details into a mysql db. i have had some issues recent so have loads (talking 100s) of folders that are empty which i need to remove, and to remove the details of said folder from db also. any ideas how i can do this, using plesk control panel so removing the subdomain via plesk cli may be the best way in that respect but the db is external to plesk so that would not be edited
View 0 Replies View RelatedIs it possible to get current CPU usage from mod_status on Windows? I thought it's ExtendedStatus On directive required but still no CPU usage.
View 7 Replies View RelatedWe are currently running plesk 11.5 and over the last few months, the apache memory usage has been very high. On investigation we have gone through the logs and we can't find a cause.
I can issue a service httpd restart and the memory drops for about 30 minutes and then we see the apache memory grow to almost 1.5 - 2GB. Why this keeps happening?
Running programs named Perl with Heavy CPU usage, with the ownership of user apache.
We found the problem on Fedora 3 and Fedora 6.
In our case, it was the result of a Trojan activity.
Quick Solution
Check the cron jobs of user apache
crontab -u apache -e
*/1 * * * * perl /tmp/.tmp/tmpfile
delete the cronjob entry.
Also delete the file /tmp/.tmp/tmpfile
also added "apache" to the file /etc/cron.deny
That's all
Problem and solution in detail....
I am receiving errors while executing domainname.com/cgi-bin/folder/filename.cgi files in directadmin. The error is Internal server error.
I have tried the below things,
./script.cgi : no errors found
checked domain log : got premature end of script headers
checked suexec log : No errors
Checked the permission : all the files and folders under cgi-bin is 755
Where is the location of my.cnf?
I've got directadmin on this server, however I can't seem to find the mysql config file.
I've checked /etc for it, but it doesn't seem to be there?
i just sign up a directadmin vps package, this is the direct admin that i saw once i login, is quite different from the direct admin that i normally saw, is this normal?
when i check with the support, they just tell me nothing is wrong and ask me if i wan they will just rebuild the vps, any one that using direct admin vps using this kind of interface?
Quite simple - does anybody know of any Directadmin resellers?
Me (and my customers) are used to directadmin so that is the control panel I would like to use on my servers. However not all hosts offer directadmin, and that means I would have to get it from directadmin.com myself.
The main 'issue' with this is pricing. Single licenses cost $29 per month. While a reseller can get the same license for a one-time fee of $49. That means turning a profit in 1.5 months when going that way instead of single licenses.
Does anybody know of a way to buy these one-time licenses? I am aware of the fact that they do not include support, that is fine.
We've had a request to assist a transfer from LxAdmin to DirectAdmin.
We don't mind moving all the files and MySQL manually, however our main concern is copying the old emails.
All the settings (ie. mail forwarders, cron jobs) can be re-created.
how to move the MailDir from LxAdmin to DirectAdmin?
who are some of the largest, most well known or oldest running DirectAdmin hosts?
View 14 Replies View RelatedMy server is using Directadmin as the control panel..
I am not able to login the DA since last week though the password must be correct..