Skip to content

mashlib with subdomain : serverRoot/.acl lock errors and server breaks on .internal/accounts/index/owner/ #49

@bourgeoa

Description

@bourgeoa

CSS@7.1.5 with mashlib@10.0.2 (both are latest)

Server root/.acl errors on lock every hour https://solidcommunity.net:8443/.internal/accounts/index/owner/
There is no account for www and the owner is not expected to exist
and then the server is killed and restarts

  • www directory
# ls -al /mnt/*04/test*/www
total 6732
drwxr-xr-x     4 root root    4096 Jan 24 08:26 .
drwxr-xr-x 16615 root root  487424 Jan 23 16:26 ..
-rw-r--r--     1 root root     285 Jan 11 10:44 .acl
drwxr-xr-x     5 root root    4096 Jan  6 07:07 .internal
drwxr-xr-x     4 root root    4096 Jan 23 19:45 common
-rw-r--r--     1 root root    5784 Jan 24 08:26 index.html
-rw-r--r--     1 root root    1199 Jan 23 19:41 index.html-bak
-rw-r--r--     1 root root 6358495 Jan 23 19:49 mashlib.js
-rw-r--r--     1 root root     295 Jan 23 19:50 mashlib.js.acl
-rw-r--r--     1 root root    5801 Jan 24 08:19 test.html
-rw-r--r--     1 root root     294 Jan 24 08:19 test.html.acl
  • www/.acl
    adding acl: default do not make any difference (I also tested with acl:default)
# cat /mnt/*04//test*/www/.acl
# Root ACL resource for the domain root
@prefix acl: <http://www.w3.org/ns/auth/acl#>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.

# The homepage is readable by the public
<#public>
    a acl:Authorization;
    acl:agentClass foaf:Agent;
    acl:accessTo <./>;
    acl:mode acl:Read.
  • detail of the logs
## every minutes logs
2025-01-26T09:15:27.013Z [HandlerServerConfigurator] {Primary} info: Received GET request for /
2025-01-26T09:15:27.020Z [WebAclReader] {Primary} info: Found applicable ACL document https://solidcommunity.net:8443/.acl
....

## every hour errors logs
2025-01-26T09:18:28.213Z [HandlerServerConfigurator] {Primary} info: Received GET request for /
2025-01-26T09:18:28.218Z [WebAclReader] {Primary} info: Found applicable ACL document https://solidcommunity.net:8443/.acl
2025-01-26T09:19:25.554Z [WrappedExpiringReadWriteLocker] {Primary} error: Lock expired after 6000ms on https://solidcommunity.net:8443/.internal/accounts/index/owner/
2025-01-26T09:19:25.555Z [WrappedExpiringStorage] {Primary} error: Error during interval callback: Failed to remove expired entries - Lock expired after 6000ms on https://solidcommunity.net:8443/.internal/accounts/index/owner/
2025-01-26T09:19:25.556Z [WrappedExpiringReadWriteLocker] {Primary} error: Lock expired after 6000ms on https://solidcommunity.net:8443/.internal/accounts/index/owner/
2025-01-26T09:19:25.556Z [WrappedExpiringStorage] {Primary} error: Error during interval callback: Failed to remove expired entries - Lock expired after 6000ms on https://solidcommunity.net:8443/.internal/accounts/index/owner/
2025-01-26T09:19:25.556Z [WrappedExpiringReadWriteLocker] {Primary} error: Lock expired after 6000ms on https://solidcommunity.net:8443/.internal/accounts/index/owner/
2025-01-26T09:19:25.556Z [WrappedExpiringStorage] {Primary} error: Error during interval callback: Failed to remove expired entries - Lock expired after 6000ms on https://solidcommunity.net:8443/.internal/accounts/index/owner/
2025-01-26T09:19:25.556Z [WrappedExpiringReadWriteLocker] {Primary} error: Lock expired after 6000ms on https://solidcommunity.net:8443/.internal/accounts/index/owner/
2025-01-26T09:19:25.558Z [WrappedExpiringStorage] {Primary} error: Error during interval callback: Failed to remove expired entries - Lock expired after 6000ms on https://solidcommunity.net:8443/.internal/accounts/index/owner/
2025-01-26T09:19:28.538Z [HandlerServerConfigurator] {Primary} info: Received GET request for /
2025-01-26T09:19:28.550Z [WebAclReader] {Primary} info: Found applicable ACL document https://solidcommunity.net:8443/.acl

## the server restarts log
2025-01-26T09:20:05.809Z [ServerInitializer] {Primary} info: Listening to server at https://localhost:8443/

## and back to every minutes logs
2025-01-26T09:20:29.111Z [HandlerServerConfigurator] {Primary} info: Received GET request for /
2025-01-26T09:20:29.129Z [WebAclReader] {Primary} info: Found applicable ACL document https://solidcommunity.net:8443/.acl
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions