cancel
Showing results for 
Search instead for 
Did you mean: 

CIFS connection problem after an unknown amount of time

seraphon
Champ in-the-making
Champ in-the-making
Hi

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
18 REPLIES 18

gary_spencer
Champ in-the-making
Champ in-the-making
Hi,

Could you email me the output from the commands.

Thanks

Gary

seraphon
Champ in-the-making
Champ in-the-making
Hi

I forgot to mention in my email that nobody except myself, was using Alfresco. So the another Id in my mail arent from colleagues. I personnaly have no idea where they come from.

Regards
Seraphon

dsgfh
Champ in-the-making
Champ in-the-making
Just suffered the same issue & found this thread looking for an answer. 
I'm running 2.1RC from the windows installer on my laptop (XP SP2).  I'm the only one accessing it, while I do some testing to verify it suits our needs.

At the time, I was doing a bulk copy of files using xcopy from the command prompt from an existing directory on our network into the alfresco repository.

Here's the output from those commands:

C:\>net use \\OC-Laptop-48_A\Alfresco
Local name
Remote name       \\OC-Laptop-48_A\alfresco
Resource type     Disk
Status            Disconnected
# Opens           3
# Connections     8
The command completed successfully.

************************************************************

Wireless Network Connection:
Node IpAddress: [10.64.35.115] Scope Id: []

                     NetBIOS Connection Table

    Local Name             State    In/Out  Remote Host           Input   Output

    —————————————————————————-

    OC-LAPTOP-48   <00>  Connected    Out       10.64.35.2                 23MB
       657KB
    OC-LAPTOP-48   <00>  Connected    Out       10.64.35.115                5MB
        90MB
    OC-LAPTOP-48_A       Connected    In        10.64.35.115               90MB
         5MB



***********************************************************
C:\>netstat -n

Active Connections

  Proto  Local Address          Foreign Address        State
  TCP    10.64.35.115:139       10.64.35.115:1177      ESTABLISHED
  TCP    10.64.35.115:1090      10.64.35.2:139         ESTABLISHED
  TCP    10.64.35.115:1121      72.14.253.125:5222     ESTABLISHED
  TCP    10.64.35.115:1177      10.64.35.115:139       ESTABLISHED
  TCP    10.64.35.115:1421      10.8.8.23:1025         ESTABLISHED
  TCP    10.64.35.115:1528      10.64.35.85:12326      ESTABLISHED
  TCP    10.64.35.115:1822      10.8.8.24:139          TIME_WAIT
  TCP    10.64.35.115:1825      10.8.8.23:139          TIME_WAIT
  TCP    127.0.0.1:1140         127.0.0.1:3306         ESTABLISHED
  TCP    127.0.0.1:1141         127.0.0.1:3306         ESTABLISHED
  TCP    127.0.0.1:1142         127.0.0.1:3306         ESTABLISHED
  TCP    127.0.0.1:1143         127.0.0.1:3306         ESTABLISHED
  TCP    127.0.0.1:1144         127.0.0.1:3306         ESTABLISHED
  TCP    127.0.0.1:1145         127.0.0.1:3306         ESTABLISHED
  TCP    127.0.0.1:1146         127.0.0.1:3306         ESTABLISHED
  TCP    127.0.0.1:1147         127.0.0.1:3306         ESTABLISHED
  TCP    127.0.0.1:1155         127.0.0.1:8100         ESTABLISHED
  TCP    127.0.0.1:1460         127.0.0.1:1461         ESTABLISHED
  TCP    127.0.0.1:1461         127.0.0.1:1460         ESTABLISHED
  TCP    127.0.0.1:1462         127.0.0.1:1463         ESTABLISHED
  TCP    127.0.0.1:1463         127.0.0.1:1462         ESTABLISHED
  TCP    127.0.0.1:3306         127.0.0.1:1140         ESTABLISHED
  TCP    127.0.0.1:3306         127.0.0.1:1141         ESTABLISHED
  TCP    127.0.0.1:3306         127.0.0.1:1142         ESTABLISHED
  TCP    127.0.0.1:3306         127.0.0.1:1143         ESTABLISHED
  TCP    127.0.0.1:3306         127.0.0.1:1144         ESTABLISHED
  TCP    127.0.0.1:3306         127.0.0.1:1145         ESTABLISHED
  TCP    127.0.0.1:3306         127.0.0.1:1146         ESTABLISHED
  TCP    127.0.0.1:3306         127.0.0.1:1147         ESTABLISHED
  TCP    127.0.0.1:8100         127.0.0.1:1155         ESTABLISHED

gary_spencer
Champ in-the-making
Champ in-the-making
Hi,

Thanks for the information, it doesn't look like it's socket connections that the client is complaining about.

How many files are you copying with xcopy ?.

Cheers

Gary

seraphon
Champ in-the-making
Champ in-the-making
Hi

it may be useless but I confirm that the problems start when this message appear in the tomcat console:
### Excluding compile: org.alfresco.repo.search.impl.lucene.index.IndexInfo$Merger::mergeIndexes

Seems to me that it happens when I play with my custom webscripts. Maybe a problem from the lucene access?
I ll try to see if the problem occurs even when I m not using webscripts.

Regards
Seraphon

edit:the problem doesnt come from the webscript

dsgfh
Champ in-the-making
Champ in-the-making
Thanks for the information, it doesn't look like it's socket connections that the client is complaining about.

How many files are you copying with xcopy ?.
Sorry, been off on leave.  I was attempting to copy around 20,000 files.  I'm afraid I can't remember how many I got through before it failed, but I'm happy to try again to quantify it if you'd like.

Cheers,
Michael

callermd
Champ in-the-making
Champ in-the-making
It still bits us hard, especially from the Terminal server…

medalhas
Champ in-the-making
Champ in-the-making
Hi ,
any news from this problem?
we have the same problem in a customer, but we cannot replicate the error in our labs.

It's a really annoying error and it happens in the fifth pdf saved from a website.

jbdev
Champ in-the-making
Champ in-the-making
I have  seen the same problem.

Alfresco 2.1
CentOS 4.5
Tomcat with bundle
No Firewall ( internal network )

Client will be using WinXP sp2 and just paths

while using CIFS with paths, all of the sudden we get this error of to many connections.