From: Jeremy Allison on
On Mon, Jun 07, 2010 at 02:44:50PM -0600, Robert LeBlanc wrote:
> We have a user trying to share a OneNote 2007 notebook and it takes minutes
> to load a 20 KB notebook. I've opened a 500 KB Excel spreadsheet from the
> same share and it took seconds. Has anyone else run into this problem? We
> are running Samba 3.4.8 on Debian Squeeze.

Minutes is very strange. Can you set the user's smbd
to debug level 10 and look into the timestamped log
and see where there are gaps in the timestamp record ?

That should give you a clue as to what might be going
on.

Jeremy.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
From: Robert LeBlanc on
On Mon, Jun 7, 2010 at 6:06 PM, Jeremy Allison <jra(a)samba.org> wrote:

> On Mon, Jun 07, 2010 at 02:44:50PM -0600, Robert LeBlanc wrote:
> > We have a user trying to share a OneNote 2007 notebook and it takes
> minutes
> > to load a 20 KB notebook. I've opened a 500 KB Excel spreadsheet from the
> > same share and it took seconds. Has anyone else run into this problem? We
> > are running Samba 3.4.8 on Debian Squeeze.
>
> Minutes is very strange. Can you set the user's smbd
> to debug level 10 and look into the timestamped log
> and see where there are gaps in the timestamp record ?
>
> That should give you a clue as to what might be going
> on.
>
> Jeremy.
>

How can I set a single user's smbd process to debug 10? We have hundreds of
users on this system so I don't want to fill up the disks with logs from
everyone.

Thanks,

Robert LeBlanc
Life Sciences & Undergraduate Education Computer Support
Brigham Young University
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
From: Jeremy Allison on
On Tue, Jun 08, 2010 at 08:42:15AM -0600, Robert LeBlanc wrote:
> On Mon, Jun 7, 2010 at 6:06 PM, Jeremy Allison <jra(a)samba.org> wrote:
>
> > On Mon, Jun 07, 2010 at 02:44:50PM -0600, Robert LeBlanc wrote:
> > > We have a user trying to share a OneNote 2007 notebook and it takes
> > minutes
> > > to load a 20 KB notebook. I've opened a 500 KB Excel spreadsheet from the
> > > same share and it took seconds. Has anyone else run into this problem? We
> > > are running Samba 3.4.8 on Debian Squeeze.
> >
> > Minutes is very strange. Can you set the user's smbd
> > to debug level 10 and look into the timestamped log
> > and see where there are gaps in the timestamp record ?
> >
> > That should give you a clue as to what might be going
> > on.
> >
> > Jeremy.
> >
>
> How can I set a single user's smbd process to debug 10? We have hundreds of
> users on this system so I don't want to fill up the disks with logs from
> everyone.

Use smbstatus to find out the process id, then use smbcontrol
to set a specific process to a different debuglevel on the fly.

Jeremy.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
From: Robert LeBlanc on
On Tue, Jun 8, 2010 at 9:16 AM, Jeremy Allison <jra(a)samba.org> wrote:

> Use smbstatus to find out the process id, then use smbcontrol
> to set a specific process to a different debuglevel on the fly.
>

That is really cool, thanks for sharing! I could not get the debuging to
work with just smb:10, I had to set all the logs to level 10 to get
anything, and then the log kept disappearing. I changed the 10M limit in
smb.conf to 100M and reloaded smbd, but for some reason, the log would still
get wiped and started over again. I can't get a good log, if I watch the
size of the log, it's all over the place, I don't know how to get a good log
file.

I moved the OneNote Notebook to a Windows server and when I launch it, it
would take about 6 seconds to load (OneNote does not have the notebook, I
browse to the share and open it. When I'm done, I right-click the notebook
and close it, otherwise OneNote would open really fast and then sync the
notebook in the background). On the Samba share, it consistently takes 2
minutes and 10 seconds. From some of the logs, it looks like the whole smbd
process is restarted as it gets all the information about my user (SIDs,
groups, etc). I'm still at a loss as to what to do.

Thanks,

Robert LeBlanc
Life Sciences & Undergraduate Education Computer Support
Brigham Young University
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
From: Andrew Masterson on

-----Original Message-----
From: samba-bounces(a)lists.samba.org
[mailto:samba-bounces(a)lists.samba.org] On Behalf Of Robert LeBlanc
Sent: Monday, June 07, 2010 2:45 PM
To: samba(a)lists.samba.org
Subject: [Samba] Microsoft OneNote 2007 painfully slow

We have a user trying to share a OneNote 2007 notebook and it takes
minutes
to load a 20 KB notebook. I've opened a 500 KB Excel spreadsheet from
the
same share and it took seconds. Has anyone else run into this problem?
We
are running Samba 3.4.8 on Debian Squeeze.

Thanks,

Robert LeBlanc
Life Sciences & Undergraduate Education Computer Support
Brigham Young University


---------------------------------------

When I have run into stuff like this it is because an application is
trying to modify security permissions on the files that it doesn't have
the right to (like with creater\owner, etc.). Given that M$ is fond of
creating temporary lock files, etc. you may want to start looking there
first.

-=Andrew
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba