CIFS connection problem after an unknown amount of time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2007 05:08 AM
I ve got this habit to open an CIFS connection at the morning to open some files in Alfresco's repository, with dev+ to edit them. It works just fine. When I edit such a file with notepad++ I can directly see in Alfresco web UI that the changes have indeed occured in Alfresco's repository.
Now the problem is that at some time of the day, when I want to navigate in my Alfresco's repository using windows explorer and a CIFS connection I get the following error
Z:\is not accessible.
No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept
Is this a problem coming from tomcat? The message says there are too many connections but I m the only user of Alfresco right now!
I tried deconnecting the CIFS drive and then reconnect it but the problem persist. And Restarting the tomcat server and Alfresco is not really a solution… But The files that I opened in notepad++ are still editable and when I do some changes to those files and saves I can see in the web navigator the the change have been taken in account.
Can someone please help me resolve this problem?
Regards
Seraphon
- Labels:
-
Archive

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2007 01:07 PM
This problem has been reported before but I've not been able to reproduce it here so far.
What's the client OS you're using and what OS is Alfresco running under ?. Are you mapping a drive or using UNC paths/browsing to save/load files ?.
Cheers
Gary

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2007 04:38 PM
I am in the process of upgrading to latest version.
Frank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2007 07:34 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2007 10:58 PM
I m currently on windows XP v2.07 and I m on the machine where Alfresco is installed.
And I am mapping a drive to load/save files
Regards
Seraphon

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2007 05:07 AM
When the problem occurs can you email me the output from the following commands (from the client) :-
net use \\share\name
nbtstat -S
netstat -n
Thanks
Gary

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-23-2007 01:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2007 06:39 AM
garry could you detail me more what you want me to do?
I m not knowledgeable at all when it comes to connections and stuff.
Sorry but I think I cant email. So I ll detail a bit
I tried the command you told me in the command prompt and I get an error message for the net user part "system error67".
nbtstat -S give me 2 server, one with the name of my computer, the other the Alfresco's server name. Nothing unusual here except maybe the 31 MB /6MB input output.
netstat -n
gives me about 35 lines withn proto being TCP.
one of these 35 lines have a state of Time Wait
And I have no idea if there is a firewall or not….
There shouldnt be, if I can connect once no? My problem is that after a few hours I cant connect anymore. Looks like there is a limit to the number of time I can open a file and edit it with CIFS or something?
Regards
Seraphon

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2007 06:49 AM
The commands should just run from a command prompt under WinXP.
The netstat command will dump out the list of connected sockets, the nbtstat command should dump the NetBIOS sessions (this might fail if NetBIOS is not enabled), the net use command should dump the connection stats for that share connection.
The net use command line should be :
net use \\<alfresco CIFS sever name>\alfresco
or do a 'net use' to see the active connections and look for the Alfresco server connection, then use those details in the net use command.
It looks like sessions or virtual circuits on a session are being closed, so as you open each file a new virtual circuit may be created. For some reason these aren't being cleared down, maybe due to something the client or server isn't doing.
I've tried a few things here to try and reproduce the problem but the virtual circuits are always cleaned up as expected.
Cheers
Gary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2007 11:11 PM
Here is maybe what makes all those unclosed connections.
When I open an CIFS driver I then go into the Alfresco's repository and open several documents inside the Alfresco's repository. About 7,8 file are open from the CIFS drive in my notepad++.
The other that might be bothersome is that I often do changes to those files and thus make a lot of saves. There is also my webscripts that do a call to Alfresco's web service when I test them.
Maybe thats the problem
Hope someone will find the answers because it is very troublesome and not very appealing for Alfresco.
Regards
Seraphon
