Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If a lock can't be removed, skip the cpu. #130

Closed
peter-lawrey opened this issue Jul 11, 2024 · 1 comment
Closed

If a lock can't be removed, skip the cpu. #130

peter-lawrey opened this issue Jul 11, 2024 · 1 comment
Assignees

Comments

@peter-lawrey
Copy link
Member

2024-07-11T14:57:03.439+0100 [main/queue-cluster-1-/replication-event-loop] WARN net.openhft.affinity.LockInventory - Error occurred acquiring lock
java.nio.file.AccessDeniedException: /tmp/cpu-14.lock
  at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:90)
  at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
  at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
  at java.base/sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:182)
  at java.base/java.nio.channels.FileChannel.open(FileChannel.java:292)
  at net.openhft.affinity.lockchecker.FileLockBasedLockChecker.tryAcquireLockOnFile(FileLockBasedLockChecker.java:134)
  at net.openhft.affinity.lockchecker.FileLockBasedLockChecker.obtainLock(FileLockBasedLockChecker.java:107)
  at net.openhft.affinity.LockCheck.storePid(LockCheck.java:74)
  at net.openhft.affinity.LockCheck.replacePid(LockCheck.java:59)
  at net.openhft.affinity.LockCheck.updateCpu(LockCheck.java:97)
  at net.openhft.affinity.LockInventory.updateLockForCurrentThread(LockInventory.java:84)
  at net.openhft.affinity.LockInventory.acquireLock(LockInventory.java:138)
  at net.openhft.affinity.AffinityLock.acquireLock(AffinityLock.java:305)
  at net.openhft.affinity.AffinityLock.acquireLock(AffinityLock.java:189)
  at net.openhft.affinity.AffinityLock.acquireLock(AffinityLock.java:287)
  at net.openhft.chronicle.threads.MediumEventLoop.run(MediumEventLoop.java:253)

@peter-lawrey peter-lawrey self-assigned this Jul 11, 2024
peter-lawrey added a commit that referenced this issue Jul 11, 2024
@hft-team-city
Copy link
Contributor

Released in Java-Thread-Affinity-3.26ea5, BOM-2.26ea26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants