Results 151 to 169 of 169
-
12-09-2006, 03:39 PM #151Junior Guru Wannabe
- Join Date
- Oct 2006
- Posts
- 57
Originally Posted by duskom
1.7 Ghz P4
Min Ram: 384 MB
Bandwidth: 1.5 Mbps DedicatedThanks themidge for your generous Joost invite
-
12-09-2006, 03:56 PM #152Newbie
- Join Date
- Apr 2005
- Location
- Montenegro
- Posts
- 5
It could be fine, but again if you have a few websites that are MySQL intensive and with a lot of visitors it could be to high. Best way is to put it like that and monitor how your server performs. If it is not too loaded, than it is OK. If you have load problems and poor MySQL performnce try to lower key_buffer and see what is happening. Generaly it could be fine.
-
12-26-2006, 09:53 AM #153Newbie
- Join Date
- Jan 2006
- Location
- Cheshire, UK
- Posts
- 12
I got alot of errors with the sysctl.conf additions. Will this be a problem?
net.ipv4.ip_forward = 0
net.ipv4.conf.all.accept_source_route = 0
net.ipv4.conf.lo.accept_source_route = 0
error: 'net.ipv4.conf.eth0.accept_source_route' is an unknown key
net.ipv4.conf.default.accept_source_route = 0
net.ipv4.conf.all.rp_filter = 1
net.ipv4.conf.lo.rp_filter = 1
error: 'net.ipv4.conf.eth0.rp_filter' is an unknown key
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.lo.accept_redirects = 0
error: 'net.ipv4.conf.eth0.accept_redirects' is an unknown key
net.ipv4.conf.default.accept_redirects = 0
net.ipv4.conf.all.log_martians = 0
net.ipv4.conf.lo.log_martians = 0
error: 'net.ipv4.conf.eth0.log_martians' is an unknown key
net.ipv4.conf.all.accept_source_route = 0
net.ipv4.conf.lo.accept_source_route = 0
error: 'net.ipv4.conf.eth0.accept_source_route' is an unknown key
net.ipv4.conf.default.accept_source_route = 0
net.ipv4.conf.all.rp_filter = 1
net.ipv4.conf.lo.rp_filter = 1
error: 'net.ipv4.conf.eth0.rp_filter' is an unknown key
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.lo.accept_redirects = 0
error: 'net.ipv4.conf.eth0.accept_redirects' is an unknown key
net.ipv4.conf.default.accept_redirects = 0
error: permission denied on key 'kernel.sysrq'
error: permission denied on key 'net.ipv4.tcp_fin_timeout'
error: permission denied on key 'net.ipv4.tcp_keepalive_time'
error: permission denied on key 'net.ipv4.tcp_window_scaling'
error: permission denied on key 'net.ipv4.tcp_sack'
error: permission denied on key 'net.ipv4.tcp_timestamps'
error: permission denied on key 'net.ipv4.tcp_syncookies'
error: permission denied on key 'net.ipv4.icmp_echo_ignore_broadcasts'
error: permission denied on key 'net.ipv4.icmp_ignore_bogus_error_responses'
net.ipv4.conf.all.log_martians = 1
error: permission denied on key 'net.ipv4.tcp_max_syn_backlog'
error: permission denied on key 'net.ipv4.tcp_max_tw_buckets'
error: permission denied on key 'net.ipv4.ip_local_port_range'
-
01-18-2007, 02:27 PM #154Hosting Specialist
- Join Date
- Sep 2003
- Location
- Washington, USA
- Posts
- 3,262
A new section on mod_throttle will be added shortly (waiting for the adds to edit my post). I am also working on adding a section for eAccelerator to replace MMCache.
█ ‹‹SHAW NETWORKS›› Simple. Professional. Reliable. Web Hosting Done Right.
█ Low Cost & Award-Winning: cPanel Reseller Plans ›› 24/7/365 Live Technical Support ‹‹
█ Website: www.shawnetworks.com Fast Response E-mail: sales @ shawnetworks.com
█ Sick of downtime? Fed up with excuses? Drop your host! Switch to Shaw Networks.
-
01-24-2007, 11:21 AM #155Web Hosting Evangelist
- Join Date
- Apr 2004
- Location
- Australia
- Posts
- 456
Originally Posted by Shaw Networks
Hope you don't mind, this thread really helped me back when I was first starting out, just wanted to give something back to the community
-
01-31-2007, 10:28 AM #156New Member
- Join Date
- Jan 2007
- Posts
- 2
Errors & Question about Turck MMCache
We are getting the following errors after updating sysctl.conf:
error: unknown error 1 setting key 'net.ipv4.conf.all.accept_source_route'
error: unknown error 1 setting key 'net.ipv4.conf.lo.accept_source_route'
error: 'net.ipv4.conf.eth0.accept_source_route' is an unknown key
error: unknown error 1 setting key 'net.ipv4.conf.default.accept_source_route'
error: unknown error 1 setting key 'net.ipv4.conf.all.rp_filter'
error: unknown error 1 setting key 'net.ipv4.conf.lo.rp_filter'
error: 'net.ipv4.conf.eth0.rp_filter' is an unknown key
error: unknown error 1 setting key 'net.ipv4.conf.default.rp_filter'
error: unknown error 1 setting key 'net.ipv4.conf.all.accept_redirects'
error: unknown error 1 setting key 'net.ipv4.conf.lo.accept_redirects'
error: 'net.ipv4.conf.eth0.accept_redirects' is an unknown key
error: unknown error 1 setting key 'net.ipv4.conf.default.accept_redirects'
error: unknown error 1 setting key 'net.ipv4.conf.all.log_martians'
error: unknown error 1 setting key 'net.ipv4.conf.lo.log_martians'
error: 'net.ipv4.conf.eth0.log_martians' is an unknown key
error: unknown error 1 setting key 'net.ipv4.conf.all.accept_source_route'
error: unknown error 1 setting key 'net.ipv4.conf.lo.accept_source_route'
error: 'net.ipv4.conf.eth0.accept_source_route' is an unknown key
error: unknown error 1 setting key 'net.ipv4.conf.default.accept_source_route'
error: unknown error 1 setting key 'net.ipv4.conf.all.rp_filter'
error: unknown error 1 setting key 'net.ipv4.conf.lo.rp_filter'
error: 'net.ipv4.conf.eth0.rp_filter' is an unknown key
error: unknown error 1 setting key 'net.ipv4.conf.default.rp_filter'
error: unknown error 1 setting key 'net.ipv4.conf.all.accept_redirects'
error: unknown error 1 setting key 'net.ipv4.conf.lo.accept_redirects'
error: 'net.ipv4.conf.eth0.accept_redirects' is an unknown key
error: unknown error 1 setting key 'net.ipv4.conf.default.accept_redirects'
error: unknown error 1 setting key 'kernel.sysrq'
error: unknown error 1 setting key 'net.ipv4.tcp_fin_timeout'
error: unknown error 1 setting key 'net.ipv4.tcp_keepalive_time'
error: unknown error 1 setting key 'net.ipv4.tcp_window_scaling'
error: unknown error 1 setting key 'net.ipv4.tcp_sack'
error: unknown error 1 setting key 'net.ipv4.tcp_timestamps'
error: unknown error 1 setting key 'net.ipv4.tcp_syncookies'
error: unknown error 1 setting key 'net.ipv4.icmp_echo_ignore_broadcasts'
error: unknown error 1 setting key 'net.ipv4.icmp_ignore_bogus_error_responses'
error: unknown error 1 setting key 'net.ipv4.conf.all.log_martians'
error: unknown error 1 setting key 'net.ipv4.tcp_max_syn_backlog'
error: unknown error 1 setting key 'net.ipv4.tcp_max_tw_buckets'
error: unknown error 1 setting key 'net.ipv4.ip_local_port_range'
Addititonally, we installed Turck MMCache for PHP but think we will switch to eaccelerator... How do we remove Turck MMCache ?
Thanks for your help!!!
-
01-31-2007, 10:30 AM #157Web Hosting Evangelist
- Join Date
- Apr 2004
- Location
- Australia
- Posts
- 456
Originally Posted by mwep
-
01-31-2007, 11:57 AM #158New Member
- Join Date
- Jan 2007
- Posts
- 2
Yes, I am using a VPS. Does that mean I need to fix sysctl.conf or is it ok as is ? If so, what needs to be added or removed ?
Also, how do we remove Turck MMCache for PHP so we can replace it with eAccelerator ?
Thanks for your quick response!!!
I just wanted to add our experience thus far with this optimzation...
We are running a heavily modded version of Joomla, before optimization if we had 50 users online our CPU Utlization was over 10% (ouch). SQL would barf with over 50 users.
After optimization, with 50 users our CPU Utilization is now 0.51% (wow) and this morning we had over 65 users online with no SQL problems!!!
Thank you sooooo much for this awesome guide!Last edited by mwep; 01-31-2007 at 12:02 PM.
-
02-17-2007, 08:33 PM #159Web Hosting Evangelist
- Join Date
- Dec 2006
- Posts
- 480
Personally I use xcache rather then eaccelerator for caching. However, if I was to recommend which PHP accelerator to put in a guide, I would say APC as that will be shipped as an official part of PHP 6, so using it now will give you a smoother future migration path.
-
03-15-2007, 10:59 AM #160Junior Guru
- Join Date
- Sep 2002
- Location
- Croatia
- Posts
- 231
eAccelerator don't work with PHPsuexec and for some other reasons i want PHPsuexec on my server. So what is my options to use instead of eAccelerator. is it Turck MM cache ?
thanks
-
03-15-2007, 05:50 PM #161Eternal Member
- Join Date
- Dec 2004
- Location
- New York, NY
- Posts
- 10,710
Originally Posted by dxer
-
03-15-2007, 09:58 PM #162Hosting Specialist
- Join Date
- Sep 2003
- Location
- Washington, USA
- Posts
- 3,262
Originally Posted by layer0█ ‹‹SHAW NETWORKS›› Simple. Professional. Reliable. Web Hosting Done Right.
█ Low Cost & Award-Winning: cPanel Reseller Plans ›› 24/7/365 Live Technical Support ‹‹
█ Website: www.shawnetworks.com Fast Response E-mail: sales @ shawnetworks.com
█ Sick of downtime? Fed up with excuses? Drop your host! Switch to Shaw Networks.
-
05-03-2007, 12:37 PM #163Disabled
- Join Date
- May 2007
- Posts
- 205
Yes i agree thanks alot helped me squeeze that last bit out!!
-
05-11-2007, 02:26 PM #164Newbie
- Join Date
- Aug 2006
- Posts
- 13
Im now moving from reseller account to an VPS and this will surely help a lot ( im planning to take it without control panel/managment ).
-
05-20-2008, 05:12 PM #165Junior Guru Wannabe
- Join Date
- May 2008
- Posts
- 31
this doesn't look like a good advise esp about sysctl.conf
After altering sysctl.conf according to this post I am missing 50% of emails sent through website php fucntion. And subjectively overall slower performance.
-
08-11-2008, 05:23 PM #166Newbie
- Join Date
- Jul 2008
- Posts
- 13
Thx, will come in handy
-
08-20-2008, 04:57 AM #167Newbie
- Join Date
- May 2008
- Posts
- 14
2 errores
Hi, people i have 2 errors,
1. By installing Turck MMCache all goes well until the passage of "make" this command makes this error:
Code:root@srv3 [~/turck-mmcache-2.4.6]# make /bin/sh /root/turck-mmcache-2.4.6/libtool --mode=compile gcc -I. -I/root/turck-mmcache-2.4.6 -DPHP_ATOM_INC -I/root/turck-mmcache-2.4.6/include -I/root/turck-mmcache-2.4.6/main -I/root/turck-mmcache-2.4.6 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/turck-mmcache-2.4.6/mmcache.c -o mmcache.lo mkdir .libs gcc -I. -I/root/turck-mmcache-2.4.6 -DPHP_ATOM_INC -I/root/turck-mmcache-2.4.6/include -I/root/turck-mmcache-2.4.6/main -I/root/turck-mmcache-2.4.6 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/turck-mmcache-2.4.6/mmcache.c -fPIC -DPIC -o .libs/mmcache.o /root/turck-mmcache-2.4.6/mmcache.c:389: error: conflicting types for 'php_get_uname' /root/turck-mmcache-2.4.6/mmcache.c:389: note: an argument type that has a default promotion can't match an empty parameter name list declaration /usr/local/include/php/ext/standard/info.h:87: error: previous declaration of 'php_get_uname' was here /root/turck-mmcache-2.4.6/mmcache.c: In function 'fixup_zval': /root/turck-mmcache-2.4.6/mmcache.c:705: error: 'empty_string' undeclared (first use in this function) /root/turck-mmcache-2.4.6/mmcache.c:705: error: (Each undeclared identifier is reported only once /root/turck-mmcache-2.4.6/mmcache.c:705: error: for each function it appears in.) /root/turck-mmcache-2.4.6/mmcache.c: In function 'calc_string': /root/turck-mmcache-2.4.6/mmcache.c:1229: error: 'align_test' undeclared (first use in this function) /root/turck-mmcache-2.4.6/mmcache.c: In function 'calc_zval_ptr': /root/turck-mmcache-2.4.6/mmcache.c:1253: error: 'align_test' undeclared (first use in this function) /root/turck-mmcache-2.4.6/mmcache.c: In function 'calc_property_info': /root/turck-mmcache-2.4.6/mmcache.c:1260: error: 'align_test' undeclared (first use in this function) /root/turck-mmcache-2.4.6/mmcache.c: In function 'calc_hash_int': /root/turck-mmcache-2.4.6/mmcache.c:1275: error: 'align_test' undeclared (first use in this function) /root/turck-mmcache-2.4.6/mmcache.c: In function 'calc_zval': /root/turck-mmcache-2.4.6/mmcache.c:1293: error: 'empty_string' undeclared (first use in this function) /root/turck-mmcache-2.4.6/mmcache.c:1303: error: 'align_test' undeclared (first use in this function) /root/turck-mmcache-2.4.6/mmcache.c: In function 'calc_op_array': /root/turck-mmcache-2.4.6/mmcache.c:1345: error: 'align_test' undeclared (first use in this function) /root/turck-mmcache-2.4.6/mmcache.c: In function 'calc_class_entry': /root/turck-mmcache-2.4.6/mmcache.c:1439: error: 'align_test' undeclared (first use in this function) /root/turck-mmcache-2.4.6/mmcache.c: In function 'calc_size': /root/turck-mmcache-2.4.6/mmcache.c:1484: error: 'align_test' undeclared (first use in this function) /root/turck-mmcache-2.4.6/mmcache.c: In function 'store_string': /root/turck-mmcache-2.4.6/mmcache.c:1521: error: 'align_test' undeclared (first use in this function) /root/turck-mmcache-2.4.6/mmcache.c: In function 'store_zval_ptr': /root/turck-mmcache-2.4.6/mmcache.c:1556: error: 'align_test' undeclared (first use in this function) /root/turck-mmcache-2.4.6/mmcache.c: In function 'store_property_info': /root/turck-mmcache-2.4.6/mmcache.c:1567: error: 'align_test' undeclared (first use in this function) /root/turck-mmcache-2.4.6/mmcache.c: In function 'store_hash_int': /root/turck-mmcache-2.4.6/mmcache.c:1587: error: 'align_test' undeclared (first use in this function) /root/turck-mmcache-2.4.6/mmcache.c: In function 'store_zval': /root/turck-mmcache-2.4.6/mmcache.c:1652: error: 'empty_string' undeclared (first use in this function) /root/turck-mmcache-2.4.6/mmcache.c:1665: error: 'align_test' undeclared (first use in this function) /root/turck-mmcache-2.4.6/mmcache.c: In function 'store_op_array': /root/turck-mmcache-2.4.6/mmcache.c:1709: error: 'align_test' undeclared (first use in this function) /root/turck-mmcache-2.4.6/mmcache.c: In function 'store_class_entry': /root/turck-mmcache-2.4.6/mmcache.c:1849: error: 'align_test' undeclared (first use in this function) /root/turck-mmcache-2.4.6/mmcache.c: In function 'mmcache_store_int': /root/turck-mmcache-2.4.6/mmcache.c:1941: error: 'align_test' undeclared (first use in this function) /root/turck-mmcache-2.4.6/mmcache.c: In function 'restore_zval': /root/turck-mmcache-2.4.6/mmcache.c:2159: error: 'empty_string' undeclared (first use in this function) /root/turck-mmcache-2.4.6/mmcache.c: In function 'mmcache_put': /root/turck-mmcache-2.4.6/mmcache.c:3416: error: 'align_test' undeclared (first use in this function) /root/turck-mmcache-2.4.6/mmcache.c: In function 'ps_create_sid_mmcache': /root/turck-mmcache-2.4.6/mmcache.c:4004: error: 'empty_string' undeclared (first use in this function) make: *** [mmcache.lo] Error 1
(BIG ERROR)
2. The next mistake is to modify the file "sysctl.conf" I delete everything and put everything you the full text. And at the time the command "/ sbin / sysctl-w" gives me this error:
Code:root@srv3 [~]# /sbin/sysctl -p net.ipv4.ip_forward = 0 net.ipv4.conf.all.accept_source_route = 0 net.ipv4.conf.lo.accept_source_route = 0 error: "net.ipv4.conf.eth0.accept_source_route" is an unknown key net.ipv4.conf.default.accept_source_route = 0 net.ipv4.conf.all.rp_filter = 1 net.ipv4.conf.lo.rp_filter = 1 error: "net.ipv4.conf.eth0.rp_filter" is an unknown key net.ipv4.conf.default.rp_filter = 1 net.ipv4.conf.all.accept_redirects = 0 net.ipv4.conf.lo.accept_redirects = 0 error: "net.ipv4.conf.eth0.accept_redirects" is an unknown key net.ipv4.conf.default.accept_redirects = 0 net.ipv4.conf.all.log_martians = 0 net.ipv4.conf.lo.log_martians = 0 error: "net.ipv4.conf.eth0.log_martians" is an unknown key net.ipv4.conf.all.accept_source_route = 0 net.ipv4.conf.lo.accept_source_route = 0 error: "net.ipv4.conf.eth0.accept_source_route" is an unknown key net.ipv4.conf.default.accept_source_route = 0 net.ipv4.conf.all.rp_filter = 1 net.ipv4.conf.lo.rp_filter = 1 error: "net.ipv4.conf.eth0.rp_filter" is an unknown key net.ipv4.conf.default.rp_filter = 1 net.ipv4.conf.all.accept_redirects = 0 net.ipv4.conf.lo.accept_redirects = 0 error: "net.ipv4.conf.eth0.accept_redirects" is an unknown key net.ipv4.conf.default.accept_redirects = 0 error: "Operation not permitted" setting key "kernel.sysrq" error: "Operation not permitted" setting key "net.ipv4.tcp_fin_timeout" error: "Operation not permitted" setting key "net.ipv4.tcp_keepalive_time" error: "Operation not permitted" setting key "net.ipv4.tcp_window_scaling" error: "Operation not permitted" setting key "net.ipv4.tcp_sack" error: "Operation not permitted" setting key "net.ipv4.tcp_timestamps" error: "Operation not permitted" setting key "net.ipv4.tcp_syncookies" error: "Operation not permitted" setting key "net.ipv4.icmp_echo_ignore_broadcasts" error: "Operation not permitted" setting key "net.ipv4.icmp_ignore_bogus_error_responses" net.ipv4.conf.all.log_martians = 1 error: "Operation not permitted" setting key "net.ipv4.tcp_max_syn_backlog" error: "Operation not permitted" setting key "net.ipv4.tcp_max_tw_buckets" error: "Operation not permitted" setting key "net.ipv4.ip_local_port_range"
Please helpme!!!
-
04-27-2010, 08:44 AM #168Newbie
- Join Date
- Apr 2010
- Location
- Rotterdam,The Netherlands
- Posts
- 9
oh wow, that's some very bad sysctl config, no window scaling and sack turned off. What did you try to do? Slowdown your up/download speeds?
<<snipped>>Last edited by bear; 04-27-2010 at 04:37 PM.
-
04-30-2010, 06:22 AM #169WHT Addict
- Join Date
- Jan 2010
- Location
- SL
- Posts
- 163
i was wondering that if these same mysql settings can be used for a vps of following specifications?
1.5ghz processor speed
1gb ram
50gb harddisk
cpanel
centos