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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

URGENT! 1

Status
Not open for further replies.

Igaduma

Technical User
Nov 23, 2001
322
BE
Hi all,

When clicking on properties of a certain file with NT I always get an explorer crash saying
"Exception:in page io error" and then drwatson

There are about 20 thousand of these files but only a very few generate this error.

Selecting other files, exactly the same do not generate an error and display the properties.

not posting my conf file, I disabled all access to the machine, and now I can't get to it without a reboot. argh

Anybody seen anything like this ?

Iga-Duma
 
This sounds more like a windows than a Samba problem.

Are these files on a Samba share?

Have you tried the same thing with them just on
a local hard drive?

What version of Samba are you using etc.??

[ponder]
 
Hi all,

Files on local HD work.
The NT event viewer also pops out an error message saying:

The redirector timed out a request to <samba server>

I'm running 2.2.2, no user verification, all gets mapped to guest user, who has all right on that share.

the redirector is part of the locking mechanisme no ?

 
Hi all,

Check following exe file, it does basic IO testing on network/local drives in dos.


When running that on my samba share, the throughput is very...very low.
Although simple file copying goes at normal speeds, this tool does block writing in files.

Iga-Duma
 
Sorry I only have limited Samba knowledge.

Are the files that are having problems
particularly large files, and is the problem
with all files of this size - or does it seem
more random?

Did you check the Samba log file
to see if there's anything useful there
(usually /var/samba/logs I think)


Just did a search on 'redirector timed out'
for windows nt and found an interesting article:


Hope this is of some benefit.
 
Hi nonguru,

Just logged in & saw yr post.
Thanks, i'm gonna check out those pages.

Hope they will shed some light.


Iga-Duma
 
Hi Nonguru,

Yes, some possible fixes for this problem.
I'm changing some stuff in the registry which handle all this chaching stuff.
It's with file ranging from 100-2000Kb, very randomly.
Even when the system is in single user, 1 person connected to the samba server the problem happens. Randomly. Very frustrating.
Can't really be with bandwidth or diskspeed, it's an external scsi2 disckpack, running at 10MB for each disk, getting good speeds.

Disabling the caching on the NT machines is probably going to solve this.

Will keep you posted!

Iga-Duma

 
Well I Ever!

Changing in the windoze registry the parameter UseNTCaching in the localmachine.lanmanworkstation.parameters is something &quot;else&quot;

When set to 1 (yes) the speed I get is 5Mb/s and when disabling the UseNTCaching the speed drops to 0.9Mb/s

$trange
 
Oh, well I guess you should leave the caching enabled.

Perhaps you should try some of the Samba tuning tips
suggested in the articles above.
Maybe if you can get the connection speed up you
will not get the error.

Let me know how you go. (-:

 
Oh yeah, I guess the other thing to try is latest
version of Samba.

 
Hi all,

I've set the local.machine....lanman.parameters sessiontimeout to max value.
This seems to solve alot of problems I was having with an application that batch-reads 30 files at the same time, in a directory containing 1000 subdirs with in total 70.000 files.
No more errors saying anything about the rdr.

I better install the latest version of samba, but...I never compiled a program with make before.

I'm one of those pkgadd solaris kinda types.

Iga-Duma
 
Thanks for the information Iga.
That's interesting and should help some others.

Good luck with the new version.
I use Solaris and have never had any problems
with make. (touch wood) [thumbsup2]
 
Hi nonguru,

Can you tell me what extra packages I need?
There seem to be a multitude of make packages around!

The speed thing disabling caching and such doesn't really degrade the throughput on a file per file basis. Same speed.
It only seems to be very usefull when an application (db?) opens several files and writes to adresses in that file.


thanks.
iga-duma
 
Hey Iga, I'm fairly junior around this place
and only use the server, didn't set it up.

I think we installed the Solaris O/S from a CD.

All I can tell you is that we had initial problems
because we only did a partial install of Solaris
and some components were missing that were required
for the compiler, then we did a full install from
the CD and everything was fine.

This may not be correct, but I think we just have the
basic o/s, no extra packages. (I don't actually don't
know much about packages - will have to do some reading)

Compiling Samba for me was as simple as downloading the source and running these 3 commands
-configure (choose your options)
-make
-make install

sorry I don't have more knowledge for you
[peace]
-peter.
 
Hi,

Yeah, I figured out I needed make!

Thanks,

Iga-Duma
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top