On Fri, 9 Jan 2004, scott.marlowe wrote:

> On Fri, 9 Jan 2004, Aurangzeb M. Agha wrote:
> 
> > Right!  Thus my quandry.
> > 
> > Re inodes, how can I check this?  But why would this be?  Is Postgres
> > sucking up inodes just sitting there as a read-only DB?
> 
> If you are out of inodes, I seriously doubt it is Postgresql's fault, as 
> you seem to be running everything on the root partition here, it could be 
> any other process more likely than postgresql is using all the inodes.  
> Basically, when you make a lot of small files you can run out of inodes.  

And a common culprit is whatever is being used for usenet caching/serving...or
ordinary mail which is just accumulating in /var/mail (or whereever).


> Since postgresql tends to make a few rather large files, it's usually not 
> a concern.
> 
> df -i shows inode usage.
> 
> On linux, you can change the % reserved for root to 1% with tune2fs:
> 
> tune2fs -m 1

-- 
Nigel J. Andrews


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to