Questions tagged [gzip]

Gzip is any of several software applications used for file compression and decompression. The term usually refers to the GNU Project's implementation, "gzip" standing for GNU zip. It is based on the DEFLATE algorithm, which is a combination of Lempel-Ziv (LZ77) and Huffman coding.

Gzip is any of several software applications used for file compression and decompression. The term usually refers to the GNU Project's implementation, "gzip" standing for GNU zip. It is based on the DEFLATE algorithm, which is a combination of Lempel-Ziv (LZ77) and Huffman coding.

Gzip is based on the DEFLATE algorithm, which is a combination of LZ77 and Huffman coding. DEFLATE was intended as a replacement for LZW and other patent-encumbered data compression algorithms, which, at the time, limited the usability of compress and other popular archivers.

"Gzip" is often also used to refer to the gzip file format, which is:

  • a 10-byte header, containing a magic number, a version number and a time stamp
  • optional extra headers, such as the original file name
  • a body, containing a DEFLATE-compressed payload
  • an 8-byte footer, containing a CRC-32 checksum and the length of the original uncompressed data

source: wikipedia

334 questions
0
votes
2 answers

BASH/Linux - Need a command to recursively compress a specific file type within a multiple level directory

I need to compress a considerable number of pdf and txt files but I want to leave the file structure untouched. The directories have many, many subdirectories. When I want to compress files of a specific type in a single directory I run: for i in…
0
votes
1 answer

Disable brotli compression for single nginx vhost

I have a handful of websites on a single server, setup using https://serverpilot.io/ It enables brotli compression for all sites by default but I would like to disable this on a single site that sits behind a third party firewall that doesn't like…
Titan
  • 143
  • 7
0
votes
1 answer

Chrome HTTP2 requests do not finish for large gzipped files (Apache)

I recently upgraded Aapche to 2.4.26 (ondrej ppa) on Ubuntu 16.04. By default, modules deflate and http2 are enabled. On Chrome, when serving large JS files, the request simply does not finish and fails with net::ERR_CONNECTION_CLOSED after a long…
light
  • 113
  • 7
0
votes
2 answers

Apache Webserver: check if decompression is supported

With SetInputFilter DEFLATE I can force the apache to decompress incoming messages. Is there a way to ask the webserver whether it supports decompression of incoming requests. I would expect a specific HEADER information for that. The only HEADER…
jsalvas
  • 1
  • 1
0
votes
1 answer

memory use during MySQL gzip backups

Hi on an EC2 server I'm using the following to gzip SQL from another server: mysqldump -h $HOST -u $UNAME -p$PWORD --single-transaction $1 | gzip -5 > $2_`date +%d`.sql.gz At the moment the SQL data is 560 Mb and here is information from "free": …
Luke Wenke
  • 103
  • 4
0
votes
3 answers

How to split a large .tar.gz on a Windows machine to upload on a Linux server?

I downloaded a rather large (6GB) backup file from a cloud Linux server about a week ago before it went down to my Windows laptop. We just got ourselves a new cloud server just now and the decision has been made to redeploy the site on said server.…
fortesama
  • 15
  • 1
  • 8
0
votes
1 answer

IIS Formal Brotli compression module

Is there any formal extension for IIS to support brotli compression? Previously I saw these two extension but I cannot rely on them for a production…
0
votes
2 answers

Large mysql dump pipe to s3

Is there any problem in doing this with lots of data? mysqldump ... | gzip | s3cmd put - s3://bucket/file.sql.gz The MySQL dump is about 100GB in size. What happens if gzip or s3cmd can't process the dump fast enough? Will it overflow the pipe…
0
votes
0 answers

Why is nginx gziping tar.gz archives?

I have the following gzip configuration at the nginx.conf file: gzip on; gzip_disable "msie6"; gzip_vary on; gzip_proxied any; gzip_comp_level 6; gzip_buffers 16 8k; gzip_http_version 1.1; gzip_types text/plain…
user236479
0
votes
1 answer

Testing gzip for users accessing website via forward proxy

An app of mine has nginx as a webserver, and I'm using gzip compression. I've checked gzip integrity via https://checkgzipcompression.com/ - it seems to be working A OK. However, a lot of my users are accessing my website via a forward proxy. How…
Hassan Baig
  • 2,325
  • 12
  • 29
  • 48
0
votes
1 answer

Enforcing No Gzip on Nginx

I need to disable gzip in some cases, regardless of client's Accept-* request headers. My Nginx's conf entry has the following directives: gzip off; more_clear_input_headers -t 'text/html' Accept Accept-Encoding; proxy_set_header Accept…
Tzury Bar Yochay
  • 727
  • 11
  • 24
0
votes
2 answers

Turn on Gzip for combined JS or CSS files without file extension

I'm trying to configure GZip on my nginx server. It works for files with an file-extension. To make a decision what kind of file is served over the network, Nginx does not analyze the file contents ... Instead, it just looks up the file extension…
stUrb
  • 165
  • 2
  • 8
0
votes
1 answer

how to stop esxtop gracefully which is running in batch mode?

I am running esxtop in batch mode using the below command: esxtop –b –a –d 10 –n 2000| gzip -9c > perfData.csv.gz This is going to run for a little over 5 hrs, but I want to stop it gracefully and get my perfData.csv.gz file uncorrupted. Is there…
rkrishnan
  • 101
  • 2
0
votes
0 answers

gzip: FILE is a multi-part gzip file -- not supported

I am trying to restore some deleted files from one server. Using several tools for raw disk scan, I found lots of files - gz, gif, jpg etc. I also found some multi-part gzip files that I do not know how not handle. This is what I get when I try to…
Nick
  • 826
  • 2
  • 15
  • 42
0
votes
0 answers

How do you git archive a branch using gzip with highest compression level?

I'm trying to git archive a branch using gzip with the highest level compression (9) but it seems to not compress at that level. Here is my command: git -C /home/user/example.com/ archive --format tar -o /home/user/site_backups/develop-`date…