Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
[CCGI] write failed: No space left on device (28) in Unknown on line 0
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- [CCGI] write failed: No space left on device (28) ...
[CCGI] write failed: No space left on device (28) in Unknown on line 0
31-12-2009 7:34 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I am using sessions in PHP on the CCGI server and quite often, but randomly, get the following error:
"Warning: Unknown(): write failed: No space left on device (28) in Unknown on line 0
Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0"
I have searched the forum but the only thing similar was back in 2006. Are other people seeing this or have I missed something important in setting up the sessions?
Thanks. BJ
"Warning: Unknown(): write failed: No space left on device (28) in Unknown on line 0
Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0"
I have searched the forum but the only thing similar was back in 2006. Are other people seeing this or have I missed something important in setting up the sessions?
Thanks. BJ
Message 1 of 6
(3,929 Views)
5 REPLIES 5
Re: [CCGI] write failed: No space left on device (28) in Unknown on line 0
01-01-2010 1:03 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
That is a system error - the /tmp filesystem has run out of space. You need to raise a ticket and report it.
Message 2 of 6
(892 Views)
Re: [CCGI] write failed: No space left on device (28) in Unknown on line 0
02-01-2010 8:41 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Okay, thanks.
It's not doing it so often now, but the session keeps disappearing and reappearing. What I mean is on a sequence of page refreshes the session data will there, then be lost on the next refresh, then come back again on the next refresh etc.
Is the CCGI server multiple machines load-balancing so that request may go to any machine, and possibly the /tmp area is not shared between these machines?
Thanks. BJ
dick:quote
It's not doing it so often now, but the session keeps disappearing and reappearing. What I mean is on a sequence of page refreshes the session data will there, then be lost on the next refresh, then come back again on the next refresh etc.
Is the CCGI server multiple machines load-balancing so that request may go to any machine, and possibly the /tmp area is not shared between these machines?
Thanks. BJ
dick:quote
Message 3 of 6
(892 Views)
Re: [CCGI] write failed: No space left on device (28) in Unknown on line 0
03-01-2010 2:13 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
The tmp still seems to be choked. To avoid this problem (and concerns re using /tmp for sessions on shared servers), you could set your own session.save_path, either in a custom php.ini or in your scripts:
Gabe
ini_set('session.save_path','/share/storage/0N/us/username/folder');
Gabe
Message 4 of 6
(892 Views)
Re: [CCGI] write failed: No space left on device (28) in Unknown on line 0
03-01-2010 7:12 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Thanks Gabe,
A much more reliable solution.
A much more reliable solution.
Message 5 of 6
(892 Views)
Re: [CCGI] write failed: No space left on device (28) in Unknown on line 0
04-01-2010 9:38 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
/tmp is shared between the ccgi machines, otherwise people using it would have some seriously weird results due to the loadbalancing of the platform, e.g. you don't hit the same server every time. It's on the same netapp backend as your CCGI files, albeit on a different volume.
Message 6 of 6
(892 Views)
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- [CCGI] write failed: No space left on device (28) ...