similar to: checking a locked file

Displaying 20 results from an estimated 400 matches similar to: "checking a locked file"

2006 Jun 26
2
[klibc 28/43] mips support for klibc
The parts of klibc specific to the mips architecture. Signed-off-by: H. Peter Anvin <hpa at zytor.com> --- commit 8dc79563c06020d8844b9e9b821741828039b59e tree b957c8fb1fddf486f5c26b1880726051d4f6aaad parent bc9b363b31d301ab94c115cccc2e079c0d318498 author H. Peter Anvin <hpa at zytor.com> Sun, 25 Jun 2006 16:58:31 -0700 committer H. Peter Anvin <hpa at zytor.com> Sun, 25 Jun
2002 Oct 29
1
strange locks
Hi, I added these lines to smb.conf: kernel op locks = false op locks = false strict locking = true so I could see some locks from the unix level. It worked sorta, I see the locks for big files (but not the locks I was expecting), but for little files it shows nothing: # ./lock_list /opt/testsambashare/mattest.doc # ./lock_list /opt/testsambashare/contents.doc 0 22086 W
2002 Feb 26
0
Samba lock X Unix fcntl() lock
Hi I look at list archives and at samba docs but I did not found ... please can some one help me? I have to write a unix program that need to check if it can write to a file and place the apropriate locks before write. Those files are in a Samba share. I intend to use fcntl() function to check and set the locks. I wrote a test program to see if the fcntl() function can see the samba locks
2008 Jan 25
1
Windows share modes and Linux file locking, flock & fcntl
Hi, I am trying to understand file locking and share modes. I am using RedHat Enterprise Linux 4, with kernel 2.6.9-55.ELsmp, samba-3.0.10-1.4E.11 and Windows XP. In particular I am looking at a machine running Linux exporting its local filesystem using Samba, with a Windows client accessing the file share. If I use byte range locking (fcntl() on Linux, LockFile() on Windows) things work as
2019 Jan 21
0
[klibc:master] fcntl: Fix struct flock for 32-bit architectures
Commit-ID: 11bd4ea5f3d960c4d208180deae91d88aa940149 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=11bd4ea5f3d960c4d208180deae91d88aa940149 Author: Ben Hutchings <ben at decadent.org.uk> AuthorDate: Mon, 21 Jan 2019 03:39:34 +0000 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Mon, 21 Jan 2019 03:45:04 +0000 [klibc] fcntl: Fix struct flock
2008 Dec 10
0
No subject
will be used by Nut's powercom driver. I've failed to google anything about this UPS working with Linux. > > What does 'lsusb -d 0d9f:0002' say for this device? Bus 001 Device 002: ID 0d9f:0002 Powercom Co., Ltd The current progress is like this: With help from linux-hotplug guys (http://thread.gmane.org/gmane.linux.hotplug.devel/13551) I've managed to /dev/ttyUSB0 to
2011 Jun 28
0
[nut-commits] svn commit r3081 - branches/apcsmart-dev/drivers
Citeren Michal Soltys <msoltyspl-guest at alioth.debian.org>: > @@ -251,14 +251,14 @@ > if (do_lock_port) { > errno = 0; > ret = 0; > -#ifdef HAVE_UU_LOCK > + #ifdef HAVE_UU_LOCK > ret = uu_lock(xbasename(device_path)); > -#elif defined(HAVE_FLOCK) > + #elif defined(HAVE_FLOCK) > ret = flock(fd, LOCK_EX | LOCK_NB); > -#elif
2018 Nov 29
1
CLDAP using CPU alltime on Samba 4.8.4
Hi, My Samba AD-DC installation is using CPU all time on a process. I'm trying everything to fix it, but without success. It started when using it on Ubuntu 16.04, I upgraded o Ubuntu 18.04, and now Ubuntu 18.10, that is using Samba 4.8.4 and the problem persist. Using samba-tool process, I could see that the process using resources is CLDAP. I did samba-tool dbcheck --cross-ncs samba-tool
2018 Mar 16
0
performance problem on bridgehead DC
Jessie also has the problem, even before the meltdown patches. The kernel 3.16.x had ksoftirqd probems, eating up cpu cicles. Make sure you use kernel 4.9.0-6 And i suggest move up to samba 4.7.x or 4.7.4 from debian/buster, Or use my 4.6.12/4.7.6 packages for stretch, or ask if Tranquil.it can make them. The 4.6.14 is still in the make atm for stretch, 4.6.14 for jessie is done. And last,
2018 Mar 16
2
performance problem on bridgehead DC
Hi Louis, Move up to 4.7 is planned soon but I'm little scared to update bridgehead if it actually had performance problem. I would like to fix all problem before updating. My smb.conf is really simple: [global] workgroup = PR realm = pr.educationetformation.fr netbios name = DC000 server role = active directory domain controller bind interfaces only
2004 Jul 19
2
locks cooperating with a server side process
Good day folks, I'm using Samba 2.2.8a [1] on Slackware 9.1 with 2000/XP clients. I'm attempting to have a process by which a user drags a file using Windows Explorer into a share. On the server side, I have a unix process that polls the directory for new files and then reads them and deletes them. I'm having a problem where I can gain the lock but the process is still writing to
2017 Nov 17
1
High CPU While Loading RSAT Active Directory Users and Computers
Hello, I'm trying to figure out a problem with our AD DC with the FSMO roles, name DC1. When starting the Windows RSAT Active Directory Users and Computers program against DC1 it takes about 90 seconds to load. A samba process on the server is at 100% CPU while waiting for it to load. Once loaded the CPU goes back to normal. When connecting the Active Directory Users and Computers program
2018 Mar 16
3
performance problem on bridgehead DC
Hi everybody ! I am encountering performance problem on my bridgehead DC. I have 19 DC (Debian Stretch / Samba 4.6.7 from Tranquil.it repo) and they all synchronized on a main bridgehead DC. This performance problem first appears when the bridgehead DC was on Debian Jessie and kernel was updated with meltdown/spectre patch from Debian (3.16.51-3+deb8u1) I added "nopti" option to grub
2016 Jul 18
0
how to disable 'pcap cache not loaded' messages?
Dear All, We're running smbd "Version 4.3.9-Ubuntu", and it populates our log files with these two lines per every connect: === [2016/07/18 18:42:31.544726, 1] ../source3/printing/printer_list.c:234(printer_list_get_last_refresh) Failed to fetch record! [2016/07/18 18:42:31.544780, 1] ../source3/smbd/server_reload.c:69(delete_and_reload_printers) pcap cache not loaded
2018 Dec 12
0
vfs_fruit causes delay in listing directories for Windows clients
Hai, Can you tell the following that helps. OS ? Samba Version? ( pre-builded or source ) Kernel version? I think you need to wait for 4.9.4 if all patches ive seen on vfs_fruit are getting in. These might help. Go through bugzilla, you might find more about this here. Greetz, Louis > -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org]
2018 Dec 12
4
vfs_fruit causes delay in listing directories for Windows clients
Listing directories with many files (10000+) from a Windows client is nociceably slower when vfs_fruit is enabled on the samba server compared to the same setup without vfs_fruit. On my setup it's roughly 2.5 times slower. To me it looks like this is caused by the getxattr call which is only present with vfs_fruit activated and introduces an additional delay of ~ 0.00033 s per listed
2007 Nov 05
7
[PATCH] Recover from corrupt tdb on reboot
This patch was created for 3.1.0. Based on inspection, I believe the current version has the same problem, but I did not actually try it. I hope you''ll find the patch useful anyway. Xen cannot work when xenstored''s tdb is corrupt. When that happens somehow (and we''ve seen it happen), even reboot doesn''t recover from it. It could: there is no state in tdb
2007 May 22
1
Re: Ocfs2-users Digest, Vol 41, Issue 21
Dear all, > Caveats > ======= > Features which OCFS2 does not support yet: > - extended attributes > - readonly mount > - shared writeable mmap > - loopback is supported, but data written will not > be cluster coherent. > - quotas > - cluster aware flock <---------------------------------------- >
2006 May 22
1
Samba client file locking
Hello, I am trying to work out the file locking mechanism on our Samba server when connecting from Linux clients. I am getting some strange behaviour in a mixed Linux/Windows environment when multiple clients open/lock the same file for writing. Everything seems fine when a Windows client creates the lock, but if a Linux client creates the lock, we get either two or more Linux clients being able
2018 Feb 20
0
Migration from 3.6.25-0ubuntu0.12.04.10 to 4.x with passdb backend = ldapsam
I got more information ,after enable log_level to 10: ``` push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3 push_conn_ctx(0) : conn_ctx_stack_ndx = 2 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3 Security token: (NULL) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups Adding cache entry with key=[ACCT_POL/password history] and timeout=[Thu Jan 1 03:00:00 AM 1970 MSK]