Skip to content
WJunction - Webmaster Forum

Search results

  1. A

    how to install varnish in cpanel ?

    Both will work IF configured properly, that is the main requirment. Example configuration: Varnish (port 80) -> nginx (port 8000) -> Apache (Port 8080) Do you have the nginx installer script with all nginx hooks to generate vhosts when a new cPanel account is created ? If you are unsure how...
  2. A

    every time server over swap memory ..

    I'd agree with sloddl, the VPS hasn't got enough memory, one of your scrpts start using all the memory and VPS starts swapping. Next thing is, you get a lot of visitors, a lot of (I'm guessing you're using Apache) web server processes are spawned to suffice the demand and it starts eating all...
  3. A

    WHMCS database transfer error!

    Yeah, not enough information to trouble shoot your issue. Have you made full backups (files and database) before upgrading ? Since you have 4 hosting sites in your signature, don't you have a sysadmin ?
  4. A

    how to install varnish in cpanel ?

    Yes, this will install Varnish. But this is only the beginning of the journey. You will have to configure Varnish to be on port 80 and send cache misses to a backed (you can configure Apache to listen on an alternative ports trough WHM > Tweak Settings ). When you install varnish, you...
  5. A

    VPS Problem

    Check if the path to the public_html is accessible by the web server user. Also, add an index.html to the public_html directory just to be sure it isn't because directory listing is disabled.
  6. A

    Backup/Repair Huge Database's VPS/DED

    Hello Gav, Nice post, might I propose few more steps ? The MySQL optimize/repair command would be /usr/bin/mysqlcheck --analyze --optimize --auto-repair _DATABASE_NAME_ If you have crashed tables best practice: myisamchk --force --fast --update-state --key_buffer_size=64M...
  7. A

    Need help Upgrading to PHP 5.3.x

    The problem is that your current PHP RPM packages can not be upgraded with the new RPM packages trough the new repository. Also these errors: --> Processing Dependency: php-api = 20041225 for package: php-pecl-memcache --> Processing Dependency: php-api = 20041225 for package...
  8. A

    how to fix this error ?

    This error is show because not all iptables modules are loaded at the beginning and enabled in VE.conf. Quick how-to can be found here ( http://kb.parallels.com/875 ) how to fix this. ( Please note to ignore the APF parts :D ) However this will still need to be done on the main node...
  9. A

    Running Apache on 128MB RAM?

    18k - 20k visitors daily will do fine on nginx + PHP-FPM setup - BUT not on a 128 MB VPS. It'll crash instantly. Get a server, place nginx or varnish to serve the ads and you are good to go, there will not be any load..
  10. A

    Running Apache on 128MB RAM?

    This doesn't make any sense, you want to say that we all need to have 12 core Xeons to run Webserver under 128MB ? You can run this server on the Pentium 4 if you want, however what is the visitor count you want o to have and support, as i3, with nginx and proper configuration can support a...
  11. A

    Hello PPl

    Hello all, I'm 25 yr old sysadmin working for teh lulz :) Just kidding, I'm that guy in your server that keeps things running and dreams coming true. Current occupation : replacing my MP3 collection with FLAC. Thank you :)
  12. A

    Running Apache on 128MB RAM?

    Running nginx is a must, now if you run PHP-FPM set the one pool and set it to use few workers. You will see what is the memory usage of each PHP-FPM child, however running a web server on 64 MB machine would need certain drastic drawbacks, as not using MySQL (or disabling the InnoDB storage and...
  13. A

    can i remove access.log?

    You can remote the Apache access_log, nothing bad will happen. Easiest way is to trunicate it, just execute the following command: echo > ./access_log If you don't need Apache access_log for statistical data processing you can revert the access_log to /dev/null :)
Back
Top Bottom