Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deadlocked CFFILE/Upload on Solaris

Status
Not open for further replies.

grobish

Programmer
Joined
Jan 3, 2002
Messages
3
Location
US
I have a strange problem that only occurs on my staging/development system. My production site works fine, so I'm inclined to believe it must be a configuration problem.

When I attempt to upload any file to this site, I get this ColdFusion (4.5.1) error page:

Code:
Error Occurred While Processing Request
Error Diagnostic Information
Error processing CFFILE

Error attempting to save uploaded file to path '/testdocs/STORAGE/PTG/Oems/Web Test/Dropbox/mail.txt.' Deadlock situation detected/avoided

The error occurred while processing an element with a general identifier of (CFFILE), occupying document position (81:4) to (86:19) in the template file /testdocs/PTG/SHARED/commondropaction.cfm.


Date/Time: Tue Apr 29 11:09:38 2003
Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Remote Address: 130.248.182.6
HTTP Referer: [URL unfurl="true"]http://mirage.corp.adobe.com:81/PTG/SHARED/dropbox.cfm[/URL]

The particular section of code doesn't need or use any locking, so cflock isn't in the picture.

Any ideas on where to start looking? One thing I'd like to know that may or may not be related: where (on a Solaris system) does ColdFusion keep a file while it's being uploaded. There must be a temp file that's copied to the final destination directory.

Thanks,
-- grobish
 
You're getting a deadlock error and you're not doing any locking? Odd. Gotta figure CF is getting confused in it's error message.

Have you checked the simple things, like whether the /testdocs/STORAGE/PTG/Oems/Web Test/Dropbox/ directory is open for writting by whatever user ColdFusion is running as (nobody)?



-Carl
 
I checked again just to be sure, and sure enough, the directories I use in testing are write-able by the world. Unix permissions are set to 777.

I just tried another test, and a link that copies a file generates the same error. This was working as recently as April 24th.

I'm pretty much convinced that ColdFusion is running across a file system problem. When I try from a csh command line though. a 'cp' works OK.

Looks like I need to try FTP,rcp and etc.

Thanks,
-- grobish
 
Have you tried it with full debugging activated?
Might provide a few more clues... before you spend time revising a model that's only broken on one server.



-Carl
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top