solved Server reporting disk full....

iamtimbo
@iamtimbo
9 years ago
301 posts
Firstly, this *could* be an Arvixe screwup, but just to check I've done all I can this end....

Site is currently inaccessible (blank page), although just before it went down, I saw a couple of errors about not being able to write certain files to the cache. Visiting the cPanel generates this error:

The filesystem mounted at /home/sitename on this server is running out of disk space. cPanel operations have been temporarily suspended to prevent something bad from happening. Please ask your system admin to remove any files not in use on that partition.

I would understand if I *had* got a lot of stuff, or wasn't on an unlimited plan, but having not really got up steam yet, there's barely anything on there in terms of big data - say 150/200 photos.

Well, to be sure, I manually deleted the cache via FTP, and ran the tools as per the 'Something's wrong - what do I do?' page to perform an Integrity Check etc. No change. The only 'unnecessary' files I have are the old versions of modules (can I delete those?), and the only non-Jamroom files are a couple of GIFs in a folder that I store for access by another website. I've done no work on the site today, and it's been fine until this evening.

I can't access any logs via the ACP.

All thoughts welcomed, etc. etc.
updated by @iamtimbo: 04/16/16 05:13:11AM
iamtimbo
@iamtimbo
9 years ago
301 posts
Obviously, having written all that, it's just come back to life again. Nothing in the logs to suggest a Jamroom issue.

*gets coat*
michael
@michael
9 years ago
7,768 posts
as to the delete old versions of the files, yeah sure, no problem there, go ahead.

You can do it from
ACP -> MARKETPLACE -> TOOLS -> RELEASE ARCHIVE

Then use the REMOVE ARCHIVE to selectively remove packages.
iamtimbo
@iamtimbo
9 years ago
301 posts
Thanks, Michael - I thought I'd seen something like that somewhere - I'll have a cleanup.

That said, all is still not quite right. Even after a full integrity check, there is a problem with (at least) the gallery image detail pages, and some thumbnails, particularly some profile pics and, for example in the 'Recently rated' sidebar.

You can see here -http://ourtownstory.co.uk/iamtimbo/gallery/dorset-miscellaneous/all - that there are plenty of pictures in this gallery, some of them have been there for months. But notice that my profile pic is missing. Click on one of the gallery images to see the detail, and nothing shows at all - and on the left in the sidebar, most of the thumbnails are missing.

There are no errors showing at present, but from When the system went down earlier, there are 4 notes in the activity log saying:

 jrCore_get_module_cache_dir: unable to create cache directory: jrImage 


so it does seem like there may be an issue with images somewhere. It's too late for me to go into it now, but I'm not quite sure what's going on....
michael
@michael
9 years ago
7,768 posts
your profile pic is there for me.

I can see that there is no main image here though:
http://ourtownstory.co.uk/iamtimbo/gallery/401/the-gardens-bournemouth-c-1905

That unable to create cache directory seams like the server saying it cant write to:
/data/cache/jrImage/*

Maybe check if that directory is there: If it is, check that the webserver is able to write to it, and if it isnt, check that the web server is able to write to the /data/cache/ folder, so maybe check the system check for red lights.

Not being able to write to the cache could definitely be the cause of the image not showing.
iamtimbo
@iamtimbo
9 years ago
301 posts
Ok - thank you - just noticed that the same issue exists with profile timeline pages, too. I'll look into the directory stuff in the morning. I did delete the cache folders as per the 'Something's wrong - what do I do? - page, so they might not be there now. I'll check the cPanel in the morning.

Not quite sure what to look for, but I'll check the permissions - certainly haven't looked at them since I set it all up!
michael
@michael
9 years ago
7,768 posts
If they are not there, they will be recreated when the system needs them, so no problem there unless the system is not able to recreate them, in which case you would get an error like:

jrCore_get_module_cache_dir: unable to create cache directory: jrImage
paul
@paul
9 years ago
4,335 posts
Your site is in Maintenence Mode. We'll need the admon login in order to take a look.
Thanks


--
Paul Asher - JR Developer and System Import Specialist
iamtimbo
@iamtimbo
9 years ago
301 posts
Yes, popped it in Maintenance Mode overnight. Had a look this morning, and the issue is persisting. Looking on the server, Jamroom has created new cache directories in /data/cache/jrImage, as well as for jrCore, jrSitemap and jrSlate. Permissions are 0755 for the folders and 0644 for the files.

No errors showing at all in the Jamroom logs or in the cPanel logs. Only thing I have noticed is that the site seems slower than usual but a) that's nothing new for Arvixe, and b) the cache has obviously been recently deleted.

I'll send my admin login to the support address just in case you want to look 'inside'.....