Page MenuHomePhabricator

beta squid has some permission issue
Closed, DeclinedPublic

Description

Not really have time to investigate, but I have noticed the following issue in the beta labs logs:

May 8 20:26:08 x.x.x.x squid[18606]: xrename: Cannot rename /data/project/squid1/swap.state.new to /data/project/squid1/swap.state: (13) Permission denied
May 8 20:26:08 x.x.x.x squid[18606]: storeUfsDirCloseTmpSwapLog: rename failed

Filling in bug for later.


Version: unspecified
Severity: normal

Details

Reference
bz36661

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:22 AM
bzimport set Reference to bz36661.

It actually seems to cause squid to die out :(

FATAL: storeUfsDirCloseTmpSwapLog: rename failed
Squid Cache (Version 2.7.STABLE9): Terminated abnormally.
(squid)[0x4854e4]
(squid)[0x485942]
(squid)[0x48fc2a]
(squid)[0x490148]
(squid)[0x433add]
(squid)[0x45ba06]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7fb173d37c4d]
(squid)[0x404269]
CPU Usage: 4.500 seconds = 1.180 user + 3.320 sys
Maximum Resident Size: 58800 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
total space in arena: 11388 KB
Ordinary blocks: 11343 KB 11 blks
Small blocks: 0 KB 1 blks
Holding blocks: 2476 KB 3 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 44 KB
Total in use: 13819 KB 100%
Total free: 44 KB 0%
2012/05/08 21:04:02| Starting Squid Cache version 2.7.STABLE9 for amd64-debian-linux-gnu...
2012/05/08 21:04:02| Process ID 20896

I have delete the /data/project/squid1/swap.* files

Noticed files belong to nobody:nogroup , could it causes squid an issue?

This did not happen again. I guess it got fixed somehow.