Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 2:
temp files

 

 


jmueller0823
User

Mar 2, 2010, 12:31 PM

Post #1 of 6 (6163 views)
Shortcut
temp files Can't Post

Hi Donna

In all of our templates we use a query like this to display related articles:

<? include "http://www.growth trac.com/cgi-bin/artman2/search.cgi?action=search&keywordSearchFields=keyword&keyword=$article.keyword$&template=searchEngine/related_articles3.html&perpage=10" ; ?>


Today, instead of the "related list", I noticed an error displayed like this:

Error: can't write to '/hsphere/local/home/growth0/growth trac.com/artman/publish//temp_1267561131000.php'! No space left on device at /hsphere/local/home/growth0/growth trac.com/cgi-bin/artman2/modules//IT/File.pm line 478.

I checked the folder indicated above and found thousands (!) of temp* files. Apparently these are created for the above query?

We deleted all of the temp files, but the issue remains. Perhaps the server doesn't recognize the freed-up space yet.

I am seeing new temp files created, they are zero-byte.

Comment please. Is this normal functionality?

Thanks.


Jim

g r o w t h t r a c dot c o m
Life Changing Resources for Your Marriage

(This post was edited by jmueller0823 on Mar 2, 2010, 12:38 PM)


Donna
Staff / Moderator


Mar 2, 2010, 3:26 PM

Post #2 of 6 (6161 views)
Shortcut
Re: [jmueller0823] temp files [In reply to] Can't Post

Hi Jim,

Article Manager creates temp files for every search query run, as a method to execute dynamic code (ie, php, ssi's, etc) on search pages ... something that would normally be impossible as your server won't parse dynamic code other than CGI on a .cgi page. This is some nifty Article Manager magic that makes it all happen.

However, what it SHOULD do is delete those files immediately after creating them, you shouldn't never see them other than for the millisecond they exist. If it's not, there's something odd going on there. Do you happen to know what permissions your files are created with?

The error message you're getting isn't an Article Manager one, that's your server coming back and saying you're out of server space. You may want to check with your hosting provider if deleting files isn't clearing up the space. Deleting files is another server thing, so removing them should delete things right away (unless you're server has some odd configuration I'm not familiar with. Either way, you'll want to check with your host.)

That said, Artman not deleting those files is probably why you ran out of space to begin with.

It'll be creating 0 byte files because it can't actually write to your server. Running out of disk space can be a bad thing if Article Manager's trying to write to files -- make sure you have a full backup before trying to fiddle around in Article Manager so that it doesn't try to write to a required file and change it into a 0 byte file instead because it can't write to it. (ie, templates, settings files, etc.)

If you'd like us to take a closer look at that, feel free to purchase a support ticket here:

https://www.interactivetools.com/order/

And once you've done that, you can fill out a support request with your ftp information here:

https://www.interactivetools.com/support/email_support_form.php

Make sure you have a full backup before filling out a support request.

Donna

--
support@interactivetools.com


jmueller0823
User

Mar 2, 2010, 6:37 PM

Post #3 of 6 (6155 views)
Shortcut
Re: [Donna] temp files [In reply to] Can't Post

Donna
The files are CMOD 666

It appears that "something changed" about one-year ago--
that's how far back the files were dated.


Jim

g r o w t h t r a c dot c o m
Life Changing Resources for Your Marriage


Donna
Staff / Moderator


Mar 3, 2010, 12:10 PM

Post #4 of 6 (6144 views)
Shortcut
Re: [jmueller0823] temp files [In reply to] Can't Post

Hmm, with 666, Artman should be able to delete them. We'd definitely have to take a closer look to sort that out.

It looks like you've purchased a support ticket, and I see your support request so we'll take a look at that and see what we can come up with. :)

Donna

--
support@interactivetools.com


jmueller0823
User

Mar 4, 2010, 6:41 PM

Post #5 of 6 (6129 views)
Shortcut
Re: [jmueller0823] temp files [In reply to] Can't Post

Donna et al
Can you provide status on the support ticket?
Thanks much.


Jim

g r o w t h t r a c dot c o m
Life Changing Resources for Your Marriage


Donna
Staff / Moderator


Mar 5, 2010, 4:46 PM

Post #6 of 6 (6121 views)
Shortcut
Re: [jmueller0823] temp files [In reply to] Can't Post

Hi Jim,

You should have a response by now. :)

Donna

--
support@interactivetools.com