Displaying 20 results from an estimated 40 matches for "cache_dir".
2015 Dec 04
1
[PATCH] builder: create temporary images in the cachedir (RHBZ#1288201)
...stead.
---
builder/builder.ml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/builder/builder.ml b/builder/builder.ml
index 957bc37..3750e5f 100644
--- a/builder/builder.ml
+++ b/builder/builder.ml
@@ -378,6 +378,8 @@ let main () =
goal_must, goal_must_not in
+ let cache_dir = (open_guestfs ())#get_cachedir () in
+
(* Planner: Transitions. *)
let transitions itags =
let is t = List.mem_assoc t itags in
@@ -394,7 +396,7 @@ let main () =
(* Since the final plan won't run in parallel, we don't only need
* to choose unique tempfiles per transi...
2013 Aug 07
2
The docs a re a bit weird on "Directory hashing"
...s/us.es/%1Hu/%2.1u/%n
so I assume it should be used like that:
mail_location=maildir:/home/vmail/%H/%2.256Hn/%d_%n/Maildir/
or:
mail_location=maildir:/home/vmail/%1Mu/%2.1Mu/%d_%n/Maildir/
It's a bit hard to think alone so I hope you can assist me.
let say I want to follow the model of squid cache_dir which has:
cache_dir aufs /usr/local/squid/var/cache/squid 40000 16 256
And means a two layers cache of max 16 directories on the first layer
and 256 directories on the second layer.
The above allows millions of files storage and can benefit from all ext4
lower kernel levels of compatibly rather t...
2013 Apr 11
1
[PATCH] always work with empty --root in zypp driver
...ering <olaf at aepfle.de>
---
src/supermin_zypp_rpm.ml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/supermin_zypp_rpm.ml b/src/supermin_zypp_rpm.ml
index 51f01eb..2089837 100644
--- a/src/supermin_zypp_rpm.ml
+++ b/src/supermin_zypp_rpm.ml
@@ -50,7 +50,7 @@ pkg_cache_dir=%S
time zypper \
%s \
%s \
- %s \
+ --root %S --reposd-dir /etc/zypp/repos.d \
--cache-dir \"${cache_dir}\" \
--pkg-cache-dir \"${pkg_cache_dir}\" \
--gpg-auto-import-keys \
@@ -65,7 +65,7 @@ time zypper \
(if verbose then "--verbose --verbose" else &qu...
2007 Aug 10
1
TRANSEPARENT PROXY WITH SQUID 2.6
Hi,
I am running squid as a TRANSEPARENT PROXY WITH SQUID 2.5 on CENTOS 4.5.
Pls see below for squid.con file.
http_port 3128
cache_mem 64 MB
cache_dir ufs /var/spool/squid 100 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
# Example rule allowing access from your local networks. Adapt
# to list your...
2006 Aug 20
1
omindex patch
...b:
* omindex.cc: last_mod as value. Add HAVE_UNRAR,
HAVE_MSGCONVERT, HAVE_READPST, HAVE_CATDOC checks.
Add options --verbose, --silent
* configure.ac: Add HAVE_CATDOC
2006-08-17 18:06:26 Reini Urban <reinhard.urban at avl.com>
omega-0.9.6a:
* omindex.cc: Added last_mod check, cache_dir, libtextcat,
cached virtual directories (zip,msg,pst,...).
New options: -c/--nocleanup, -i/--ignore-time.
Add MS-Office mimetypes (word, excel, powerpoint, outlook)
* configure.ac: Add HAVE_TEXTCAT, HAVE_UNRAR, HAVE_MSGCONVERT,
HAVE_READPST, HAVE_CATDOC
* commonhelp.cc: Update stemmer help wi...
2000 Jun 28
1
[Patch] Shorter patch for smbfs 2.2.16
...eturning the name as a reference to avoid
+ * an extra copy, and that the upper/lower casing is done in place.
+ *
+ * Bugs Noted:
+ * (1) Pathworks servers may pad the name with extra spaces.
+ */
+static __u8 *
+smb_decode_dirent(struct smb_sb_info *server, __u8 *p,
+ struct cache_dirent *entry)
+{
+ int len;
+
+ /*
+ * SMB doesn't have a concept of inode numbers ...
+ */
+ entry->ino = 0;
+
+ p += SMB_STATUS_SIZE; /* reserved (search_status) */
+ entry->name = p + 9;
+ len = strlen(entry->name);
+ if (len &g...
2016 Feb 04
5
Squid as interception HTTPS proxy under CentOS 7
...etworks
# from where browsing should be allowed
http_access allow localnet
http_access allow localhost
# And finally deny all other access to this proxy
http_access deny all
# Squid normally listens to port 3128
#http_port 3128
# Uncomment and adjust the following to add a disk cache directory.
#cache_dir ufs /var/spool/squid 100 16 256
# Leave coredumps in the first cache dir
coredump_dir /var/spool/squid
#
# Add any of your own refresh_pattern entries above these.
#
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_patter...
2012 Oct 03
1
squid cache question
...triction for that client then the software
gets downloaded.
Is there any way we can allow any client to access objects/files in cache
without removing the download restriction. We are using Squid 2.6 on Centos
5 64-bit.
Cache configuration:
cache_mem 128 MB
maximum_object_size_in_memory 1024 KB
cache_dir ufs /var/spool/squid 400000 16 256
maximum_object_size 4096 MB
refresh_pattern -i
\.(deb|rpm|exe|zip|tar|tgz|ram|rar|bin|ppt|doc|tiff|dmg|pkg|ipa)$
10080 90% 43200 override-expire ignore-no-cache ignore-private
reply_body_max_size 0 allow sp-download-grant
reply_body_max_size 0 allow sp-download-...
1998 Sep 04
0
Linux SMB Mount utils patch
...grows up
+ * while the names grow down, and we have space until they meet.
+ */
+struct cache_block {
+ union {
+ struct cache_entry table[1];
+ char names[PAGE_SIZE];
+ } cb_data;
+};
+
+/*
+ * To return an entry, we can pass a reference to the
+ * name instead of having to copy it.
+ */
+struct cache_dirent {
+ ino_t ino;
+ unsigned long pos;
+ int len;
+ char * name;
+};
+
+struct cache_head * smb_get_dircache(struct dentry *);
+void smb_init_dircache(struct cache_head *);
+void smb_free_dircache(struct cache_head *);
+int smb_refill_dircache(struct cache_head *, struct dentry *);
+void smb_add_t...
2007 Feb 09
1
trouble https multiple uplinks... how?
..._port 0
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
http_port 3128
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
cache_mem 512 MB
cache_replacement_policy heap GDSF
memory_replacement_policy heap GDSF
cache_dir ufs /cache 6000 14 256
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl localnet src 10.14.1.0/255.255.255.0
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
acl Safe_ports port 280 # http-mgmt
acl Safe_ports p...
2013 Apr 09
2
[PATCH 1/2] add run_shell helper
The new run_shell helper is a copy of run_python,
and will be used by upcoming changes.
Signed-off-by: Olaf Hering <olaf at aepfle.de>
---
src/supermin_utils.ml | 9 +++++++++
src/supermin_utils.mli | 5 +++++
2 files changed, 14 insertions(+)
diff --git a/src/supermin_utils.ml b/src/supermin_utils.ml
index f98e09a..cb8a27e 100644
--- a/src/supermin_utils.ml
+++ b/src/supermin_utils.ml
2018 Mar 09
3
SELinux breaks Squid's ssl_crtd helper
...des certificats TLS
sslcrtd_program /usr/lib64/squid/ssl_crtd -s /var/lib/ssl_db -M 4MB
sslcrtd_children 8 startup=1 idle=1
# SSL-Bump
acl step1 at_step SslBump1
ssl_bump peek step1
ssl_bump bump all
# Taille du cache dans la RAM
cache_mem 2048 MB
# Emplacement et taille du cache sur le disque
# cache_dir ufs /var/spool/squid 100 16 256
# Vidage syst?me
coredump_dir /var/spool/squid
# Dur?e de vie des fichiers sans date d'expiration
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refres...
2007 Jun 12
1
How to setup both Transpaent Proxy and firewall on the same Machine.
...HED,RELATED -j ACCEPT
iptables -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT DROP
iptables -A FORWARD DROP
iptables -A OUTPUT DROP
in addition to that, There are many rules , ALL work fine.
in squid.conf file, I have added below rules,
http_port 3128
cache_mem 64 MB
cache_dir ufs /var/spool/squid 100 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
And, Then, I did below command.
iptables -...
2020 Jul 30
1
ntlm authentication issues
...heap LFUDA
quick_abort_min -1 KB
detect_broken_pconn on
fqdncache_size 1024
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320
access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_dir aufs /var/spool/squid 600 16 256
auth_param ntlm program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-basic
auth_param ntlm children 20 startup=0 idle=1
auth_param ntlm keep_alive on
visible_hostname "Monitoramento de Acesso ? Internet"
### acls
#acl manager proto cache_object
acl loc...
2009 Dec 28
2
Samba4 and Squid3 with ntlm_auth
...path = /usr/local/samba/var/locks/sysvol
read only = no
[compartido]
path = /home/compartido
read only = no
## End of file
My squid.conf file is simple too:
visible_hostname pantro.mydomain.lan
cache_mgr myemail at mydomain.com.ve
http_port 3128
cache_mem 128 MB
cache_dir ufs /var/spool/squid3 200 16 256
access_log /var/log/squid3/access.log squid
# Configuraci?n de proxy detras de un proxy
cache_peer 192.168.3.10 parent 3128 3130 proxy-only default
##### Reglas de autenticacion
auth_param ntlm program /usr/local/samba/bin/ntlm_auth
--helper-protocol...
2017 May 25
0
CentOS6 and squid34 package ...
...CONNECT method CONNECT
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost manager
http_access deny manager
http_access deny to_localhost
http_access allow localnet
http_access allow localhost
http_access deny all
http_reply_access allow all
http_port 3128
cache_dir ufs /var/spool/squid 16400 16 256
coredump_dir /var/spool/squid
nonhierarchical_direct off
visible_hostname proxy.local
unique_hostname proxy.local
forwarded_for off
cache_mem 2560 MB
icon_directory /usr/share/squid/icons
error_directory /etc/squid/errors
as_whois_server whois.ra.net
logforma...
2019 Mar 28
0
Panic: file mail-transaction-log-file.c: line 105 (mail_transaction_log_file_free): assertion failed: (!file->locked)
...0x55e3e2b7ab20,
open_file = 0x0,
dotlock_count = 0,
dotlock = 0x0,
nfs_flush = false,
log_2_unlink_checked = true
}
(gdb) print *(struct mail_index *)0x55e3e2b81c20
$15 = {
dir = 0x55e3e2ba8970 "/var/mail/piast_efaktury",
prefix = 0x55e3e2baa1a0 "dovecot.index",
cache_dir = 0x55e3e2b888c0 "/var/mail/piast_efaktury",
event = 0x55e3e2b7a930,
cache = 0x0,
log = 0x55e3e2b81eb0,
open_count = 0,
flags = (MAIL_INDEX_OPEN_FLAG_CREATE |
MAIL_INDEX_OPEN_FLAG_DOTLOCK_USE_EXCL | MAIL_INDEX_OPEN_FLAG_SAVEONLY),
fsync_mode = FSYNC_MODE_OPTIMIZED,
fsync_mas...
2012 Jan 21
1
squid transparent proxy problem
...ss allow localhost
# And finally deny all other access to this proxy
http_access deny all
# Squid normally listens to port 3128
http_port 3128
# We recommend you to use at least the following line.
hierarchy_stoplist cgi-bin ?
# Uncomment and adjust the following to add a disk cache directory.
#cache_dir ufs /var/spool/squid 100 16 256
# Leave coredumps in the first cache dir
coredump_dir /var/spool/squid
# Add any of your own refresh_pattern entries above these.
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin...
2009 Feb 02
1
squid stops working several times a day
...or any hints
Alex
PS: Below my config file:
[root at ablprx01 squid]# grep -v ^# /etc/squid/squid.conf | grep -v ^$
http_port 3128
http_port 8080
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
cache_dir ufs /var/spool/squid 40000 16 256
access_log /var/log/squid/access.log squid
dns_defnames on
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl all src 0.0.0.0/0.0.0.0
acl manager proto...
2016 Feb 04
0
Squid as interception HTTPS proxy under CentOS 7
...http_access allow localnet
> http_access allow localhost
>
> # And finally deny all other access to this proxy
> http_access deny all
>
> # Squid normally listens to port 3128
> #http_port 3128
>
> # Uncomment and adjust the following to add a disk cache directory.
> #cache_dir ufs /var/spool/squid 100 16 256
>
> # Leave coredumps in the first cache dir
> coredump_dir /var/spool/squid
>
> #
> # Add any of your own refresh_pattern entries above these.
> #
> refresh_pattern ^ftp: 1440 20% 10080
> refresh_pattern ^gopher: 14...