I finally got ahold of the writer of Filesys::SmbClient, and discovered that it's a problem with libsmbclient and persistent connections. The Samba folks are working to make the library support them.
Thanks, Lars On Sun, 7 Apr 2002, Gerald Richter wrote: > > > > I'm not mounting. Filesys::SmbClient appears to make a fresh SMB > > connection each time one of its methods (open, opendir, unlink, mkdir, > > etc) is called. Running outside of Apache/Embperl, I have no problem with > > it. But inside, it is somehow recalling the file descriptor and the fact > > that it connected successfully before. > > > > I don't have used Filesys::SmbClient, so I am just guessing...., maybe the > module keeps the filehandle somewhere to speed up execution. Since you run > under mod_perl all globals will rest forever unless they are cleaned up. > Embperl does this for all globals inside a Embperl page, but if > Filesys::SmbClient caches the filehandle somewhere, then it will be still > there when the next request comes in. > > I think you should either look to the source of Filesys::SmbClient or ask > it's author > > Gerald > > > > > ------------------------------------------------------------- > Gerald Richter ecos electronic communication services gmbh > Internetconnect * Webserver/-design/-datenbanken * Consulting > > Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz > E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131 > WWW: http://www.ecos.de Fax: +49 6133 925152 > ------------------------------------------------------------- > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
