Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-25, 12:38:45

Author Topic: Why there is httpd restart instead of graceful !  (Read 4528 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Why there is httpd restart instead of graceful !
« on: 2014-03-23, 15:08:19 »
This is really horrible and must be changed.

Restarting Apache with 1500 domains takes a few seconds and all page doesn't work in this time.

I use normal HDD's for /home while the rest in on SSD's. Is it possible to symlink /home/apache/conf/domains to SSD ? The same for nginx.

Offline insanity

  • Senior Member
  • *
  • Posts: 215
  • Karma: +0/-0
    • View Profile
Re: Why there is httpd restart instead of graceful !
« Reply #1 on: 2014-03-24, 21:09:00 »
Spacedust,
Change in /usr/local/lxlabs/kloxo/etc/process/httpd from /etc/init.d/httpd restart to /etc/init.d/httpd graceful.
Same for nginx, named, etc.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Why there is httpd restart instead of graceful !
« Reply #2 on: 2014-03-25, 00:10:11 »
Use 'customize rule' (example copy httpd to custom.httpd and then modified this custom file).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Why there is httpd restart instead of graceful !
« Reply #3 on: 2014-03-26, 00:53:21 »
Use 'customize rule' (example copy httpd to custom.httpd and then modified this custom file).

I mean /usr/local/lxlabs/kloxo/etc/process files !

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Why there is httpd restart instead of graceful !
« Reply #4 on: 2014-03-26, 03:44:42 »
Create /usr/local/lxlabs/kloxo/etc/process/custom.httpd and custom.apache.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.054 seconds with 18 queries.

web stats analysis