Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Service nginx reload | restart | what is the upgrade command flow

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article introduces "service nginx reload"| restart| What is the upgrade command process? In the actual case operation process, many people will encounter such difficulties. Next, let Xiaobian lead you to learn how to deal with these situations. I hope you can read carefully and learn something!

master workflow

After the initialization work is completed, block the waiting signal and cycle the corresponding method of processing the signal.

1.sercice nginx start

The requested URL/usr/local/nginx/var/nginx.pid was not found on this server.

2.sercice nginx status

The requested URL/var/nginx.pid was not found on this server.

3.sercice nginxreload

HUP signal to master process

The requested URL/usr/local/nginx/var/nginx.pid was not found on this server.

error.log Keywords: reconfiguring, SIGHUP

4.service nginxrestart

stop: kill process (nginx.pid)

start: Restart the process

5. service nginxupgrade (rpm upgrade)

Send USR2 signal to master process to generate new master process

QUIT signal to old master

error.log Keywords: changing binary, SIGUSR2

"service nginx reload| restart| What is the upgrade command flow?"The content is introduced here. Thank you for reading. If you want to know more about industry-related knowledge, you can pay attention to the website. Xiaobian will output more high-quality practical articles for everyone!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report