File too large error - cannot edit any files
Also I am getting the following error when mounting with the following flags...
[ Error writing lock file ./.index.php.swp: File too large ]
Mount command used:
gitfs -o max_size=0,debug=true,foreground=true,commiter_name=server_changes,commiter_email='[email protected]',user=nobody,group=nogroup,username=xxx,password='xxx',allow_root=true,log='/var/lib/gitfs/log',ignore=*.swp,ignore=*.bak https://github.com/jonah-and-associates/xxx.git /var/www/xxx/public_html
In the log, here's what it says:
July-02-2020 21:46:36 Dummy-3: Router: Cache key for /current/index.php: /current
July-02-2020 21:46:36 Dummy-3: Router: Serving /current/index.php from cache
July-02-2020 21:46:36 Dummy-3: Call getattr CurrentView with (u'/index.php', None)
July-02-2020 21:46:36 Dummy-3: CurrentView: Get attributes {'st_ctime': 1593726069.4183435, 'st_mtime': 1593726069.4183435, 'st_nlink': 1, 'st_mode': 33188, 'st_size': 468, 'st_gid': 65534, 'st_uid': 65534, 'st_atime': 1593726069.4183435} for /index.php
July-02-2020 21:46:36 Dummy-4: Router: Cache key for /current: /current
July-02-2020 21:46:36 Dummy-4: Router: Serving /current from cache
July-02-2020 21:46:36 Dummy-4: Call getattr CurrentView with ('/', None)
July-02-2020 21:46:36 Dummy-4: CurrentView: Get attributes {'st_ctime': 1593726096.9015217, 'st_mtime': 1593726096.9015217, 'st_nlink': 9, 'st_mode': 16832, 'st_size': 4096, 'st_gid': 65534, 'st_uid': 65534, 'st_atime': 1593726101.9695752} for /
July-02-2020 21:46:36 Dummy-5: Router: Cache key for /current: /current
July-02-2020 21:46:36 Dummy-5: Router: Serving /current from cache
July-02-2020 21:46:36 Dummy-5: Call access CurrentView with ('/', 1)
July-02-2020 21:46:36 Dummy-3: Router: Cache key for /current: /current
July-02-2020 21:46:36 Dummy-3: Router: Serving /current from cache
July-02-2020 21:46:36 Dummy-3: Call access CurrentView with ('/', 2)
July-02-2020 21:46:36 Dummy-4: Router: Cache key for /current/.index.php.swp: /current
July-02-2020 21:46:36 Dummy-4: Router: Serving /current/.index.php.swp from cache
July-02-2020 21:46:36 Dummy-4: Call getattr CurrentView with (u'/.index.php.swp', None)
July-02-2020 21:46:36 Dummy-5: Router: Cache key for /current/.index.php.swp: /current
July-02-2020 21:46:36 Dummy-5: Router: Serving /current/.index.php.swp from cache
July-02-2020 21:46:36 Dummy-5: Call getattr CurrentView with (u'/.index.php.swp', None)
July-02-2020 21:46:36 Dummy-3: Router: Cache key for /current/.index.php.swp: /current
July-02-2020 21:46:36 Dummy-3: Router: Serving /current/.index.php.swp from cache
July-02-2020 21:46:36 Dummy-3: Call getattr CurrentView with (u'/.index.php.swp', None)
July-02-2020 21:46:36 Dummy-4: Router: Cache key for /current/.index.php.swp: /current
July-02-2020 21:46:36 Dummy-4: Router: Serving /current/.index.php.swp from cache
July-02-2020 21:46:36 Dummy-4: Call create CurrentView with (u'/.index.php.swp', 33188L)
July-02-2020 21:46:36 Dummy-4: CurrentView: Open /.index.php.swp for read
July-02-2020 21:46:36 Dummy-4: CurrentView: Open /.index.php.swp for write
July-02-2020 21:46:36 Dummy-4: CurrentView: Created /.index.php.swp
July-02-2020 21:46:36 Dummy-4: Router: Cache key for /current/.index.php.swp: /current
July-02-2020 21:46:36 Dummy-4: Router: Serving /current/.index.php.swp from cache
July-02-2020 21:46:36 Dummy-4: Call getattr CurrentView with (u'/.index.php.swp', 6L)
July-02-2020 21:46:36 Dummy-4: CurrentView: Get attributes {'st_ctime': 1593726396.012812, 'st_mtime': 1593726396.012812, 'st_nlink': 1, 'st_mode': 33188, 'st_size': 0, 'st_gid': 65534, 'st_uid': 65534, 'st_atime': 1593726396.012812} for /.index.php.swp
July-02-2020 21:46:36 Dummy-5: Router: Cache key for /current/.index.php.swp: /current
July-02-2020 21:46:36 Dummy-5: Router: Serving /current/.index.php.swp from cache
July-02-2020 21:46:36 Dummy-5: Call getxattr CurrentView with (u'/.index.php.swp', u'security.capability')
July-02-2020 21:46:36 Dummy-3: Router: Cache key for /current/.index.php.swp: /current
July-02-2020 21:46:36 Dummy-3: Router: Serving /current/.index.php.swp from cache
July-02-2020 21:46:36 Dummy-3: Call write CurrentView with (u'/.index.php.swp', 'b0nano 2.9.3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xd7R\x00\x00root\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00ja-autoscaling-srv-1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00index.php\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 0, 6L)
July-02-2020 21:46:36 Dummy-4: Router: Cache key for /current/.index.php.swp: /current
July-02-2020 21:46:36 Dummy-4: Router: Serving /current/.index.php.swp from cache
July-02-2020 21:46:36 Dummy-4: Call flush CurrentView with (u'/.index.php.swp', 6L)
July-02-2020 21:46:36 Dummy-4: Router: Cache key for /current/.index.php.swp: /current
July-02-2020 21:46:36 Dummy-4: Router: Serving /current/.index.php.swp from cache
July-02-2020 21:46:36 Dummy-4: Call lock CurrentView with (u'/.index.php.swp', 6L, 6, 140216351017920)
July-02-2020 21:46:36 Dummy-5: Router: Cache key for /current/.index.php.swp: /current
July-02-2020 21:46:36 Dummy-5: Router: Serving /current/.index.php.swp from cache
July-02-2020 21:46:36 Dummy-3: Router: Cache key for /current: /current
July-02-2020 21:46:36 Dummy-5: Call release CurrentView with (u'/.index.php.swp', 6L)
July-02-2020 21:46:36 Dummy-3: Router: Serving /current from cache
July-02-2020 21:46:36 Dummy-5: CurrentView: Staged /.index.php.swp for commit
July-02-2020 21:46:36 Dummy-3: Call getattr CurrentView with ('/', None)
July-02-2020 21:46:36 Dummy-3: CurrentView: Get attributes {'st_ctime': 1593726396.012812, 'st_mtime': 1593726396.012812, 'st_nlink': 9, 'st_mode': 16832, 'st_size': 4096, 'st_gid': 65534, 'st_uid': 65534, 'st_atime': 1593726101.9695752} for /
July-02-2020 21:46:36 Dummy-4: Router: Cache key for /current/index.php: /current
July-02-2020 21:46:36 Dummy-4: Router: Serving /current/index.php from cache
July-02-2020 21:46:36 Dummy-4: Call open CurrentView with (u'/index.php', 32768)
July-02-2020 21:46:36 Dummy-5: Got a new commit job on queue
July-02-2020 21:46:36 Dummy-4: CurrentView: Open /index.php for read
July-02-2020 21:46:36 Dummy-5: CurrentView: Release /.index.php.swp
July-02-2020 21:46:36 Dummy-3: Router: Cache key for /current/index.php: /current
July-02-2020 21:46:36 Dummy-3: Router: Serving /current/index.php from cache
July-02-2020 21:46:36 Dummy-3: Call read CurrentView with (u'/index.php', 4096L, 0, 7L)
July-02-2020 21:46:36 Dummy-4: Router: Cache key for /current/index.php: /current
July-02-2020 21:46:36 Dummy-4: Router: Serving /current/index.php from cache
July-02-2020 21:46:36 Dummy-4: Call getattr CurrentView with (u'/index.php', 7L)
July-02-2020 21:46:36 Dummy-4: CurrentView: Get attributes {'st_ctime': 1593726069.4183435, 'st_mtime': 1593726069.4183435, 'st_nlink': 1, 'st_mode': 33188, 'st_size': 468, 'st_gid': 65534, 'st_uid': 65534, 'st_atime': 1593726396.020812} for /index.php
July-02-2020 21:46:36 Dummy-5: Router: Cache key for /current/index.php: /current
July-02-2020 21:46:36 Dummy-5: Router: Serving /current/index.php from cache
July-02-2020 21:46:36 Dummy-5: Call flush CurrentView with (u'/index.php', 7L)
July-02-2020 21:46:36 Dummy-5: Router: Cache key for /current/index.php: /current
July-02-2020 21:46:36 Dummy-5: Router: Serving /current/index.php from cache
July-02-2020 21:46:36 Dummy-5: Call lock CurrentView with (u'/index.php', 7L, 6, 140216119585728)
July-02-2020 21:46:36 Dummy-3: Router: Cache key for /current/index.php: /current
July-02-2020 21:46:36 Dummy-4: Router: Cache key for /current/index.php: /current
July-02-2020 21:46:36 Dummy-3: Router: Serving /current/index.php from cache
July-02-2020 21:46:36 Dummy-4: Router: Serving /current/index.php from cache
July-02-2020 21:46:36 Dummy-3: Call release CurrentView with (u'/index.php', 7L)
July-02-2020 21:46:36 Dummy-4: Call open CurrentView with (u'/index.php', 33793)
July-02-2020 21:46:36 Dummy-3: CurrentView: Release /index.php
July-02-2020 21:46:36 Dummy-4: CurrentView: Open /index.php for read
July-02-2020 21:46:36 Dummy-4: CurrentView: Open /index.php for write
July-02-2020 21:46:36 Dummy-5: Router: Cache key for /current/index.php: /current
July-02-2020 21:46:36 Dummy-5: Router: Serving /current/index.php from cache
July-02-2020 21:46:36 Dummy-5: Call flush CurrentView with (u'/index.php', 6L)
July-02-2020 21:46:36 Dummy-5: Router: Cache key for /current/index.php: /current
July-02-2020 21:46:36 Dummy-5: Router: Serving /current/index.php from cache
July-02-2020 21:46:36 Dummy-5: Call lock CurrentView with (u'/index.php', 6L, 6, 140216119585728)
July-02-2020 21:46:36 Dummy-3: Router: Cache key for /current/index.php: /current
July-02-2020 21:46:36 Dummy-4: Router: Cache key for /current: /current
July-02-2020 21:46:36 Dummy-3: Router: Serving /current/index.php from cache
July-02-2020 21:46:36 Dummy-4: Router: Serving /current from cache
July-02-2020 21:46:36 Dummy-3: Call release CurrentView with (u'/index.php', 6L)
July-02-2020 21:46:36 Dummy-4: Call access CurrentView with ('/', 1)
July-02-2020 21:46:36 Dummy-3: CurrentView: Release /index.php
July-02-2020 21:46:36 Dummy-5: Router: Cache key for /current: /current
July-02-2020 21:46:36 Dummy-5: Router: Serving /current from cache
July-02-2020 21:46:36 Dummy-5: Call access CurrentView with ('/', 1)
By default, the repository is cloned into /var/lib/gitfs/.
Do you have enough space left on the device?
How large is index.php?
repo_path option can be used to specify another clone location. Can you try using another clone location?
There's no size limit builtin, so I'm thinking that's maybe happening because of low storage on the device or maybe a fuse limitation.