{"action":"closed","issue":{"url":"https://api.github.com/repos/diladele/squid3-windows/issues/46","labels_url":"https://api.github.com/repos/diladele/squid3-windows/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/diladele/squid3-windows/issues/46/comments","events_url":"https://api.github.com/repos/diladele/squid3-windows/issues/46/events","html_url":"https://github.com/diladele/squid3-windows/issues/46","id":111269579,"number":46,"title":"Failes to create cache dir with 2015/10/13 22:40:58| assertion failed: Kid.cc:45: \"cpid > 0\"","user":{"login":"JouMxyzptlk","id":10100281,"avatar_url":"https://avatars.githubusercontent.com/u/10100281?v=3","gravatar_id":"","url":"https://api.github.com/users/JouMxyzptlk","html_url":"https://github.com/JouMxyzptlk","followers_url":"https://api.github.com/users/JouMxyzptlk/followers","following_url":"https://api.github.com/users/JouMxyzptlk/following{/other_user}","gists_url":"https://api.github.com/users/JouMxyzptlk/gists{/gist_id}","starred_url":"https://api.github.com/users/JouMxyzptlk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JouMxyzptlk/subscriptions","organizations_url":"https://api.github.com/users/JouMxyzptlk/orgs","repos_url":"https://api.github.com/users/JouMxyzptlk/repos","events_url":"https://api.github.com/users/JouMxyzptlk/events{/privacy}","received_events_url":"https://api.github.com/users/JouMxyzptlk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"ra-at-diladele-com","id":2544598,"avatar_url":"https://avatars.githubusercontent.com/u/2544598?v=3","gravatar_id":"","url":"https://api.github.com/users/ra-at-diladele-com","html_url":"https://github.com/ra-at-diladele-com","followers_url":"https://api.github.com/users/ra-at-diladele-com/followers","following_url":"https://api.github.com/users/ra-at-diladele-com/following{/other_user}","gists_url":"https://api.github.com/users/ra-at-diladele-com/gists{/gist_id}","starred_url":"https://api.github.com/users/ra-at-diladele-com/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ra-at-diladele-com/subscriptions","organizations_url":"https://api.github.com/users/ra-at-diladele-com/orgs","repos_url":"https://api.github.com/users/ra-at-diladele-com/repos","events_url":"https://api.github.com/users/ra-at-diladele-com/events{/privacy}","received_events_url":"https://api.github.com/users/ra-at-diladele-com/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-10-13T20:58:03Z","updated_at":"2015-10-13T21:13:51Z","closed_at":"2015-10-13T21:13:51Z","body":"The squid package (3.5.9 and 3.5.10 tried) installs itself to F:\\squid.\r\nIt is automatically chosen and fine, it is the biggest drive.\r\nIt seems to work too.\r\nThen I add:\r\ncache_dir aufs /cygdrive/f/Squid/var/squid/cache 93000 16 256\r\nThen I am supposed to run (just as I am used on Linux squid):\r\nsquid -z\r\nResult in the log file:\r\n2015/10/13 22:47:06| assertion failed: Kid.cc:45: \"cpid > 0\"\r\n\r\nThe variant:\r\ncache_dir aufs /cygdrive/f/Squid/var/squid/cache 13000 16 256\r\ndoes not work either, squid -z does not create the directories.\r\n\r\nF:\\Squid\\bin>squid -z -f /cygdrive/f/Squid/etc/squid/squid.conf\r\n\r\ndoesn't do what it should too...\r\n\r\nThis is the cache.log from trying with 3.5.9:\r\n\r\n2015/10/13 22:48:38 kid1| Set Current Directory to /var/cache/squid\r\n2015/10/13 22:48:38 kid1| Starting Squid Cache version 3.5.9-20150922-r13918 for x86_64-unknown-cygwin...\r\n2015/10/13 22:48:38 kid1| Service Name: squid\r\n2015/10/13 22:48:38 kid1| Process ID 7348\r\n2015/10/13 22:48:38 kid1| Process Roles: worker\r\n2015/10/13 22:48:38 kid1| With 3200 file descriptors available\r\n2015/10/13 22:48:38 kid1| Initializing IP Cache...\r\n2015/10/13 22:48:38 kid1| parseEtcHosts: /etc/hosts: (2) No such file or directory\r\n2015/10/13 22:48:38 kid1| DNS Socket created at [::], FD 5\r\n2015/10/13 22:48:38 kid1| DNS Socket created at 0.0.0.0, FD 6\r\n2015/10/13 22:48:38 kid1| Adding nameserver 8.8.8.8 from squid.conf\r\n2015/10/13 22:48:38 kid1| Adding nameserver 208.67.222.222 from squid.conf\r\n2015/10/13 22:48:38 kid1| Logfile: opening log daemon:/var/log/squid/access.log\r\n2015/10/13 22:48:38 kid1| Logfile Daemon: opening log /var/log/squid/access.log\r\n2015/10/13 22:48:38 kid1| WARNING: no_suid: setuid(0): (22) Invalid argument\r\n2015/10/13 22:48:38 kid1| Store logging disabled\r\n2015/10/13 22:48:38 kid1| Swap maxSize 13312000 + 262144 KB, estimated 1044164 objects\r\n2015/10/13 22:48:38 kid1| Target number of buckets: 52208\r\n2015/10/13 22:48:38 kid1| Using 65536 Store buckets\r\n2015/10/13 22:48:38 kid1| Max Mem  size: 262144 KB\r\n2015/10/13 22:48:38 kid1| Max Swap size: 13312000 KB\r\n2015/10/13 22:48:38 kid1| ERROR: /cygdrive/f/Squid/var/squid/cache: (2) No such file or directory\r\nFATAL: \tFailed to verify one of the swap directories, Check cache.log\r\n\tfor details.  Run 'squid -z' to create swap directories\r\n\tif needed, or if running Squid for the first time.\r\nSquid Cache (Version 3.5.9-20150922-r13918): Terminated abnormally.\r\nCPU Usage: 0.061 seconds = 0.015 user + 0.046 sys\r\nMaximum Resident Size: 1222656 KB\r\nPage faults with physical i/o: 4869\r\n\r\nBut the directory IS THERE... (copy paste from explorer):\r\nF:\\Squid\\var\\cache\\squid\r\nThere is also no security problem for file access, since the whole drive is set to be read-writable be \"everyone\".\r\n\r\nOS is Windows 10 x64, other cygwin \"portings\", i.e. collect program with the dependencies work fine.\r\n\r\nI cannot see why cache_dir failes, without that directive it works, but is is completely useless without a disk cache."}}