Install the app
How to install the app on iOS

Follow along with the video below to see how to install our site as a web app on your home screen.

Note: This feature may not be available in some browsers.

Apache "graceful restart"

As an Amazon Associate, we may earn commissions from qualifying purchases. Learn more...

18
5
I need to run some php scripts on my Synology. These scripts have a long exectution time, usually they (should) run for several hours.

I successfully increased php timeout limits in php settings and apache timeout limits via SSH in apache config.

However my apache server makes a "graceful restart" in every hour at the same minute, same second.
(for example: at 08:03:22, at 09:03:22, at 10:03:22, etc.) At the time of the "graceful restart" the execution of my php scripts stops and I get a 503 error message.

I've checked Apache logs and this is what I see in every hour at the same minute and seconds:

2022-01-10T11:03:22+01:00 NAS [Mon Jan 10 11:03:22.501531 2022] [mpm_worker:notice] [pid 32660:tid 140381531672576] AH00297: SIGUSR1 received. Doing graceful restart

What is "SIGUSR1", and how can I avoid Apach to receive it? (Apperantly the restart is not 'graceful' enough and my php scripts never survive.)

Thanks for all the helps!
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Popular tags from this forum

Similar threads

  • Question Question
I am new to Synology Web Station. I have a static IP address. I have 4 domains. I have the router port...
Replies
0
Views
1,290

Thread Tags

Tags Tags
apache

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Trending content in this forum

Back
Top