Question: where is tmp directory now

4 posts by 2 authors in: Forums > CMS Builder
Last Post: Yesterday at 1:21pm   (RSS)

We used to be able to set the tmp directory instead of using /tmp, but I can't find the setting. A couple of weeks ago, I was being hammered by several bots that filled my /tmp directory, which caused CMSB access to stop with the error message "/tmp is full".

This affected every site on the server running CMSB. When we could change it, I had tmpDir set to USERHOME/tmp. If that were still in effect, then CMSB apps would not have been impacted.

I have solved the bot problem, but I'm curious about the old setting. It appears the data/temp is not used in all cases, and /tmp is still being accessed. 

Jeff Shields
yaadev.com

By kitsguru - Yesterday at 11:20am - edited: Yesterday at 11:21am

I deleted the emails and cleared the logs, so I'm unsure where the issue occurred in CMSB. I updated many of the older CMSB versions to 3.78.

I have taken several measures to protect /tmp from filling up with watch scripts & cron jobs, modsec rules, and robots.txt disallow.

The files were created by the user 'nobody' when the AI and SEO bots misbehaved. 

I assume you are now using the data/temp directory, which is fine by me.

I was curious, that's all.

Jeff Shields
yaadev.com

Oh okay.  No worries.  Let us know if anything comes up that you want us to look into further. 

Thanks!

Dave Edis - Senior Developer
interactivetools.com