Re: [WebDNA] [tip] inodes (files in a directory)

This WebDNA talk-list message is from

2015


It keeps the original formatting.
numero = 112121
interpreted = N
texte = This will be different per OS=85 but run that command I posted (df -i). That should tell you (in the =91IUse%=92) column, if you are in a danger = zone. Donovan On Feb 13, 2015, at 12:59 PM, Palle Bo Nielsen = wrote: > Donovan >=20 > You have caught my attention on an old =93wend server not running=94 = problem. What would you consider to many files in a directory? >=20 > /Palle >=20 >=20 >=20 >> On 13/02/2015, at 19.55, Donovan Brooke wrote: >>=20 >> Hello, >> Ubuntu 12.04 >> WebDNA Server 8 >>=20 >> Maybe this will help some of you that have expressed problems with = the =93WebDNA Server Not Running=94, or having to use a restart. >>=20 >> I had one client that had a server uptime of 309 days, running WebDNA = Server =938=94 (sort of a pre-8 really). It actually had an uptime = longer than that.. but restarted for non-critical reasons. >>=20 >> This morning I woke up to issues (sparactic WebDNA errors, SSH = weirdness... and eventually the WebDNA Server Not Running finally. = Reboot would recreate that string of problems.=20 >>=20 >> Upon inspection, it turned out to be too many files in a directory=85 = in one of the ShoppingCarts directories to be exact. There were so many = files in this directory, that I could not even run =91ls=92 on it. >>=20 >> The number of files, pretty much means the number of inodes. If you = do a =91df -i=92, you can see an inode column, with limits and usage.=20 >>=20 >> Now, I remember seeing some claims of problems with the Server = version related to inodes. I don=92t know what that was about, but the = issue here is that I obviously had too many files in a directory, which = was exceeding the limit of inodes allowed in a directory (something like = 10 million for this one I think :-) ).=20 >>=20 >> This is user error obviously... but sometimes these things are not = easily spotted or forgotten about.. so I thought I=92d relay my story to = the talk list.=20 >>=20 >> Hope it helps someone else. >>=20 >> My Lesson (reminder): Periodically monitor disk usage, large logs, = and inodes (number of files in a directory)=85 and make sweepers and log = roller=92s as needed ;-) >>=20 >> Couple of tools: >> Disk usage: >> df -h >>=20 >> Inode usage: (my issue this morning) >> df -i >>=20 >> how many files are in a particular directory: >> ls -l | wc -l (ls -=93ell=94 =93pipe=94 wc -=93ell=94) >>=20 >> Happy Friday everyone.=20 >>=20 >> Donovan--------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] [tip] inodes (files in a directory) (Donovan Brooke 2015)
  2. Re: [WebDNA] [tip] inodes (files in a directory) (Palle Bo Nielsen 2015)
  3. [WebDNA] [tip] inodes (files in a directory) (Donovan Brooke 2015)
This will be different per OS=85 but run that command I posted (df -i). That should tell you (in the =91IUse%=92) column, if you are in a danger = zone. Donovan On Feb 13, 2015, at 12:59 PM, Palle Bo Nielsen = wrote: > Donovan >=20 > You have caught my attention on an old =93wend server not running=94 = problem. What would you consider to many files in a directory? >=20 > /Palle >=20 >=20 >=20 >> On 13/02/2015, at 19.55, Donovan Brooke wrote: >>=20 >> Hello, >> Ubuntu 12.04 >> WebDNA Server 8 >>=20 >> Maybe this will help some of you that have expressed problems with = the =93WebDNA Server Not Running=94, or having to use a restart. >>=20 >> I had one client that had a server uptime of 309 days, running WebDNA = Server =938=94 (sort of a pre-8 really). It actually had an uptime = longer than that.. but restarted for non-critical reasons. >>=20 >> This morning I woke up to issues (sparactic WebDNA errors, SSH = weirdness... and eventually the WebDNA Server Not Running finally. = Reboot would recreate that string of problems.=20 >>=20 >> Upon inspection, it turned out to be too many files in a directory=85 = in one of the ShoppingCarts directories to be exact. There were so many = files in this directory, that I could not even run =91ls=92 on it. >>=20 >> The number of files, pretty much means the number of inodes. If you = do a =91df -i=92, you can see an inode column, with limits and usage.=20 >>=20 >> Now, I remember seeing some claims of problems with the Server = version related to inodes. I don=92t know what that was about, but the = issue here is that I obviously had too many files in a directory, which = was exceeding the limit of inodes allowed in a directory (something like = 10 million for this one I think :-) ).=20 >>=20 >> This is user error obviously... but sometimes these things are not = easily spotted or forgotten about.. so I thought I=92d relay my story to = the Talk List.=20 >>=20 >> Hope it helps someone else. >>=20 >> My Lesson (reminder): Periodically monitor disk usage, large logs, = and inodes (number of files in a directory)=85 and make sweepers and log = roller=92s as needed ;-) >>=20 >> Couple of tools: >> Disk usage: >> df -h >>=20 >> Inode usage: (my issue this morning) >> df -i >>=20 >> how many files are in a particular directory: >> ls -l | wc -l (ls -=93ell=94 =93pipe=94 wc -=93ell=94) >>=20 >> Happy Friday everyone.=20 >>=20 >> Donovan--------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us Donovan Brooke

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Trunk-gator (1997) Install WebDNA on FreeBSD (2003) Add htmlarea 3 to SiteBuilder (2004) Mac 3.0.5b11 PI -- template cache and aliases (1999) Umm...about those log files? (Off Topic) (1997) Need relative path explanation (1997) Forms Search Questions (1997) Using Cookie for client specific info? (1997) Don'y know if this is a sily question... (2003) OR-searching (2000) [WriteFile] problems (1997) CommandSecurity? (1997) Banners (1997) autocommit problem (1998) ADMIN ACCESS (1999) Re[4]: Problem with new formvariables (2000) Shopping Cart - prices? (1997) Document Contains No Data! (1997) [OT] Who's got a cool link (2002) help with writefile (1998)