Apache stop when disc full

No explicit questions like "how do I hack xxx.com" please!
Post Reply
User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Apache stop when disc full

Post by ayu »

So I was doing an experiment.
I filled up the disc of a Debian virtual machine that only had 8 GB to begin with.
But Apache continued to run on it and delivered requests just like normal.

Shouldn't it have stopped?
I mean, it can't log anything so anything that happens will go unnoticed until space is cleared.

Any thoughts on this?
"The best place to hide a tree, is in a forest"

scatter
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 366
Joined: 01 Jan 2014, 05:22
10

Re: Apache stop when disc full

Post by scatter »

Maybe because the space provided to the system is still free , I mean the system space and storage space r not in same partition space just a thought

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Re: Apache stop when disc full

Post by bad_brain »

Apache runs on RAM to serve requests, even if files are served because that only takes read access which still works when the disk is full (just write wouldn't work)....only if RAM is all occupied it begins to use actual disk space by swapping (if enabled)... :wink:
Image

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Re: Apache stop when disc full

Post by ayu »

bad_brain wrote:Apache runs on RAM to serve requests, even if files are served because that only takes read access which still works when the disk is full (just write wouldn't work)....only if RAM is all occupied it begins to use actual disk space by swapping (if enabled)... :wink:
Hmm okay, will have to fill the RAM first then. Back to the planning table ^^

Oh and scatter, there is only one partition on the system for testing purposes :)
"The best place to hide a tree, is in a forest"

Post Reply