SAMBA is an arthritic snail. Any ideas?

I have compiled and installed SAMBA 2.2.2 on my QNX 6.1 machine and it is
very, very slow when performing a browse from my various Windows machines.
Sharing the root directory of my QNX machine and then browsing it from Win98
machine takes very nearly a full minute to return the root directory
listing. Performance is some better if I use a command line prompt under
windows and navigate that way, but it’s still very slow.

The QNX machine is a 1.4GHz AMD Athlon with 384MB memory and a 10BaseT PCI
ethernet card and the Windows machines vary from 133MHz 10BaseT to 1.5GHz
100BaseT. My network is around 8 PCs, traffic is very low.

Samba compiled clean except for what seems to be the QNX-standard deletion
of the functions in options.c. I have tried various configuration setting
to no avail.

Any help would be greatly appreciated.

Jason Farque

“Jason Farque” <jasonf@pigging.com> wrote in message
news:a3cvl9$79g$1@inn.qnx.com

I have compiled and installed SAMBA 2.2.2 on my QNX 6.1 machine and it is
very, very slow when performing a browse from my various Windows machines.
Sharing the root directory of my QNX machine and then browsing it from
Win98
machine takes very nearly a full minute to return the root directory
listing. Performance is some better if I use a command line prompt under
windows and navigate that way, but it’s still very slow.

I’m using 2.2.2 and have no performance problem.

The QNX machine is a 1.4GHz AMD Athlon with 384MB memory and a 10BaseT PCI
ethernet card and the Windows machines vary from 133MHz 10BaseT to 1.5GHz
100BaseT. My network is around 8 PCs, traffic is very low.

Does FTP transfer show similar problem (may not be related to SAMBA)

Have you looked at the samba log file

Samba compiled clean except for what seems to be the QNX-standard deletion
of the functions in options.c. I have tried various configuration setting
to no avail.

Strange, I could not get profile.c to compile, had to comment it out.

\

  • Mario


“Mario Charest” <goto@nothingness.com> wrote in message
news:a3e1ep$1mm$2@inn.qnx.com

I have compiled and installed SAMBA 2.2.2 on my QNX 6.1 machine and it
is
very, very slow when performing a browse from my various Windows
machines.

I’m using 2.2.2 and have no performance problem.

The QNX machine is a 1.4GHz AMD Athlon with 384MB memory and a 10BaseT
PCI

Does FTP transfer show similar problem (may not be related to SAMBA)

ftp send is 750K to 900K a second.

Have you looked at the samba log file

with debugging set to ‘1’ I get some notifications of “setrlimit for
RLIMIT_NOFILE for 10010 files failed with error Invalid argument” in the
log.smbd file. I get “bind failed on port 137 socket_addr 0.0.0.0. Address
already in use” in my log.nmbd file. Setting debugging to ‘2’ or heaven
help us ‘3’ is a ton of stuff.

Samba compiled clean except for what seems to be the QNX-standard
deletion
of the functions in options.c.

Strange, I could not get profile.c to compile, had to comment it out.

You’re right. I meant that I simply deleted the bodies of the functions.

  • Mario

Jason Farque

I have found that whenever a client tries to view a share the server goes
through quite a dance. With ‘debug level = 3’ I can see in the log.smbd file
many attempts to find and open 'DESKTOP.INI". Samba looks in several places
for this non-existent file before giving up. It fails to find the file of
course, but not until my official DNS server at my ISP gives up. So after a
LOOOONG delay, the originally requested share is opened and displayed to the
client.

Can anyone tell me how to correct this?

Thanks,

Jason Farque

I’m sure you’ve already tried this, but…

Try putting your windows boxes in the samba “hosts” file… This has
resolved some similar problems for me in the past. Hope this helps.

Regards,
Jay

P.S. Any chance of you posting the compiled binaries somewhere? I haven’t
had much luck getting samba to compile.


“Jason Farque” <jasonf@pigging.com> wrote in message
news:a3mqkd$97o$1@inn.qnx.com

I have found that whenever a client tries to view a share the server goes
through quite a dance. With ‘debug level = 3’ I can see in the log.smbd
file
many attempts to find and open 'DESKTOP.INI". Samba looks in several
places
for this non-existent file before giving up. It fails to find the file of
course, but not until my official DNS server at my ISP gives up. So after
a
LOOOONG delay, the originally requested share is opened and displayed to
the
client.

Can anyone tell me how to correct this?

Thanks,

Jason Farque

\

In article <a3oqmf$n53$1@inn.qnx.com>, mercutio wrote:

P.S. Any chance of you posting the compiled binaries somewhere? I haven’t
had much luck getting samba to compile.

I’ll vote for that !
Though I haven’t tried to compile it yet, it’s moving up my project
list, and would save me a step or two.
One of my ISP’s is discontinuing disk space as of the 22nd, they tell me,
but in the mean time, you can find about 9 or 10 meg available for
anon up and down load at
http://w3.gwis.com/~curt
The third link on the left side of the page is an “open” ftp space.
It’s also directly accessible as
ftp://ftp.pipeline.com/users/curt/incoming/
but it’s a mindspring virtual file system, and the paths change as
one moves through it, so direct ftp access is possible, but convoluted.


Cowboy

The trouble is, there is an endless supply of White Men, but there has
always been a limited number of Human Beings.
– Little Big Man

“Cowboy” <curt@gwis.com> wrote in message
news:slrna62c6b.1sc.curt@desktop.dummy

In article <a3oqmf$n53$> 1@inn.qnx.com> >, mercutio wrote:

P.S. Any chance of you posting the compiled binaries somewhere? I
haven’t
One of my ISP’s is discontinuing disk space as of the 22nd, they tell me,
but in the mean time, you can find about 9 or 10 meg available for
anon up and down load at
http://w3.gwis.com/~curt
The third link on the left side of the page is an “open” ftp space.
It’s also directly accessible as
ftp://ftp.pipeline.com/users/curt/incoming/

Well, since noone put the binaries there until now, I decided to do it.
On the links above you will find:

  • samba_bin.zip, which contain only the binaries (2 MB)
  • samba_all.zip, which also contains the sources (7 MB)

Use the QNX unzip to unzip them in a (temporary) directory.
You stil have to run “make install” to get the files in the right
directories.

If the site above is discontinued, you may also find them at:
http://www.xs4all.nl/~jsiegers/qnx

Hope it works :wink:
Johan

Previously, Johan Siegers wrote in qdn.public.qnxrtp.newuser:

“Cowboy” <> curt@gwis.com> > wrote in message
news:> slrna62c6b.1sc.curt@desktop.dummy> …
In article <a3oqmf$n53$> 1@inn.qnx.com> >, mercutio wrote:

P.S. Any chance of you posting the compiled binaries somewhere? I
haven’t
One of my ISP’s is discontinuing disk space as of the 22nd, they tell me,
but in the mean time, you can find about 9 or 10 meg available for
anon up and down load at
http://w3.gwis.com/~curt
The third link on the left side of the page is an “open” ftp space.
It’s also directly accessible as
ftp://ftp.pipeline.com/users/curt/incoming/

Well, since noone put the binaries there until now, I decided to do it.
On the links above you will find:

  • samba_bin.zip, which contain only the binaries (2 MB)
  • samba_all.zip, which also contains the sources (7 MB)

Thanks. Got my copies, then found a .qpr for Samba 2.2.3a
somewhere, I think www.qnxzone.com
Anyhow, the package installed fine. Configured it, tested locally,
then across this companies WAN.
It is most decidedly NOT an arthritic snail !



If the site above is discontinued, you may also find them at:
http://www.xs4all.nl/~jsiegers/qnx

Hope it works > :wink:
Johan

Thanks, Johan.
It was a place to start :slight_smile:


Cowboy

Thirteen at a table is unlucky only when the hostess has only twelve chops.
– Groucho Marx

Cowboy wrote:

Thanks. Got my copies, then found a .qpr for Samba 2.2.3a
somewhere, I think > www.qnxzone.com
Anyhow, the package installed fine. Configured it, tested locally,
then across this companies WAN.
It is most decidedly NOT an arthritic snail !

Thanks I will try it.
I was not pleased with the old version
Perhaps it is just a misconfiguration, but it seemed as soon as samba was
enabled, QNX started to read from the harddisc about once per second. Very
irritating sound.
Besides that, all my shares were “write only”. I could add and delete files,
but not retrieve them.

Johan