/var/tmp full ?

Status
Not open for further replies.

fromm

Cadet
Joined
Mar 4, 2012
Messages
6
Hi

Since installing 8.2 P1 I have had a consisten problem with my /var/tmp folder getting full. After approximately 6-12 hours, I start receiving emails from the server with the following content:
newsyslog: can't mkstemp logfile /var/log/cron.zf7jvnn: No space left on device

and another series of emails with

Traceback (most recent call last):
File "/usr/local/bin/graph.py", line 486, in <module>
GenerateDiskspaceGraph()
File "/usr/local/bin/graph.py", line 477, in GenerateDiskspaceGraph
'GPRINT:used_avg:LAST:%5.1lf%sB Last\l'
rrdtool.error: Could not save png to '/tmp/graph/df-array_2-1d.png'

when checking the content of the /tmp folder i see ALOT of sessionid*** files created.

I have reinstalled 8.2 P1, and started from fresh. Running a jail with transmissionbt which utilizes an mount point to a point outside the jail, however the problem persists also when the jail is disabled.
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
Well, there may be several session files, but they use to be very small, are you sure they are the cause of the file system full?
 

fromm

Cadet
Joined
Mar 4, 2012
Messages
6
Well, there may be several session files, but they use to be very small, are you sure they are the cause of the file system full?
My /var/temp folder looks like this with an "ls -al" command
Code:
drwxrwxrwt   5 root  wheel  2438144 Jul 26 09:35 ./
drwxr-xr-x  26 root  wheel      512 Jul 25 18:10 ../
-rw-r--r--   1 root  wheel       94 Jul 26 21:10 alert
lrwxr-xr-x   1 root  wheel       38 Jul 25 18:17 firmware@ -> /mnt/array_1/services/plugins/.freenas
-rw-r--r--   1 root  wheel       33 Jul 25 18:59 freenas_config.md5
drwxr-xr-x   2 root  wheel     2048 Jul 26 09:35 graph/
drwxr-xr-x   6 www   www        512 Jul 25 17:56 nginx/
-rw-r--r--   1 root  wheel      557 Jul 25 18:59 rc.conf.freenas
-rw-------   1 root  wheel       98 Jul 26 04:27 sessionid0000362604b6c9effaa75169aa9ffc1a
-rw-------   1 root  wheel       98 Jul 26 04:47 sessionid00005eadb67b9b1cc772867f9bd6eefc
-rw-------   1 root  wheel       98 Jul 25 18:56 sessionid00029bf4751c6d9b291b752c7fb39e17
.
total of 42853 Sessionid files, each 98 bytes long
.
drwxrwxrwt   2 root  wheel      512 Jul 20 23:35 vi.recover/

Is it possible to increase the size allocated to the /var/tmp folder ?
 
Status
Not open for further replies.
Top