Home > Backend Development > PHP Tutorial > How to solve Apache startup error No space left on device: AH00023, apacheah00023_PHP tutorial

How to solve Apache startup error No space left on device: AH00023, apacheah00023_PHP tutorial

WBOY
Release: 2016-07-12 09:07:11
Original
1002 people have browsed it

Apache startup error No space left on device: AH00023 How to solve, apacheah00023

Apache startup error No space left on device: AH00023 The error may be caused by the process, although the editor We don’t know why, but the solutions provided online can indeed solve our problem. Let’s take a look.

This type of error is caused by the ipc semaphore of the Linux system. When apache starts, many child processes will be created. They communicate with child processes through semaphores.

Semaphore introduction:

Semaphore, also known as semaphore, is used to coordinate data objects between different processes, and its main application is inter-process communication in the form of shared memory. Essentially, a semaphore is a counter that records access to a resource (such as shared memory); shared memory is the fastest way to communicate between processes running on the same machine, because the data does not need to be stored in Replication between different processes. Usually one process creates a shared memory area, and other processes read and write to this memory area. Under Linux systems, a common way is to use shared memory for storage through the shmXXX function family.

Solution:

/etc/init.d/httpd stop Stop apache service
for i in `ipcs -s | awk '/apache start process user/{print $2}'`; do (ipcrm -s $i); done
# /etc/init.d/httpd start Start apache

Later, a solution was found online and the solutions were compiled for your reference.

AH00016: Configuration Failed
ipcs -s | grep apache | awk ' { print $2 } ' | xargs -n 1 ipcrm-
ipcs -s | grep web | perl -e 'while () { @a=split(/s /); print `ipcrm sem $a[1]`}'

The above content is about the solution to the Apache startup error No space left on device: AH00023. I hope you like it.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1062031.htmlTechArticleApache startup error No space left on device: AH00023 How to solve, apacheah00023 Apache startup error No space left on device: The AH00023 error may be caused by the process, although I don’t know...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template