Displaying 20 results from an estimated 10000 matches similar to: "MySQL on tmpfs?"
2006 Sep 28
1
ramfs to tmpfs
Hello,
I was using a bunch of cpios in initramfs as a working system, and
wondering why the unused files weren't being paged out to swap.
So I reread ramfs-rootfs-initramfs.txt and now I know.
So I wrote the attached utility. It creates a tmpfs, moves all files
on the initramfs, moves / and executes the real init.
It works, even with hardlinks, but it isn't the correct approach. Have
2006 May 05
6
bind problem
I have bind running on two servers. Both servers are running
bind-9.2.4-7. When I update a zone file on the primary and reload bind,
the secondary receives a notify, but does not initiate an AXFR. The
only way I can get the secondary to update is to delete the zone file on
the secondary and restart named. Any ideas what might be wrong?
Mike
2011 Jan 23
2
putting "/tmp" to memory
"to memory" means: mounting a ~2 GByte filesystem [ tmpfs?, or ramfs? ], and put the "/tmp" on it. [ e.g.: 4 GByte ram in the pc ]. what to write in the "/etc/fstab"?
I would like to collect the [ answers too:P ]:
Advantages:
- Memory is way faster then HDD/SSD, so it could speed things up
- "SSD amortization" is less
Disadvantages:
- Security?
2006 Oct 26
3
Dual Opteron or Dual Xeon?
I am about to lease another server to be a backup web/mail server with a
replicated mysql database. The current live server is a dual Xeon
2.8Ghz. Would I do better to get another Xeon server or an Opteron
based server? My concerns are compatibility of the database and the SSL
certificate currently running on the Xeon machine. Are these concerns
unfounded?
TIA
Mike
2009 Nov 19
1
bug when creating /var/run/dovecot?
dovecot-1.2.7
If /var/run/dovecot does not exist when dovecot starts up (e.g. required
when /var/run is a tmpfs/ramfs), it creates it. But it creates it with
the wrong file mode -- the directory is mode 777. Being world writable
means any user could change the name of any file within the directory,
including the login directory, and then create their own new login
directory. Or remove the pid
2011 Jul 04
2
Linux early userspace doubts
Hi,
I am a newbie into kernel booting process.
I have read few things about boot process of the linux kernel. I am stuck at
few things, which I am confident, someone from the list might help on -
- If I pass a ramfs image as an intrd paramter from the bootloader (say
grub), then will the kernel treat this as a ramfs image only?
- initrd image is also, packed using cpio archive, then
2011 Jan 10
2
tmpfs regression in recent -STABLE
Hey,
the following line in fstab used to work just fine for my /tmp:
tmpfs /tmp tmpfs rw,size=1g,mode=1777 0 0
But since I upgraded to 8.2-PRERELEASE, /tmp will soon run out of space
(usually after leaving the box overnight).
% df /tmp
Filesystem 1K-blocks Used Avail Capacity Mounted on
tmpfs 12 12 0 100% /tmp
Yes, what you see here, is not
2010 Dec 01
2
tmpfs says "No space left on device"
I have a server where we use tmpfs as a cache for temporary files used
by a web application. But occasionally this tmpfs thinks it is full
when it isn't.
[root at flask-yellow tmpfs]# touch file
touch: cannot touch `file': No space left on device
[root at flask-yellow tmpfs]# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
none 393216 19296
2019 Apr 20
3
Does devtmps and tmpfs use underlying hard disk storage or Physical Memory (RAM)
Hi,
I am running the below command on CentOS Linux release 7.6.1810 (Core)
# df -hT --total
Filesystem Type Size Used Avail Use% Mounted on
/dev/xvda1 xfs 150G 8.0G 143G 6% /
devtmpfs devtmpfs 7.8G 0 7.8G 0% /dev
tmpfs tmpfs 7.8G 0 7.8G 0% /dev/shm
tmpfs tmpfs 7.8G 817M 7.0G 11% /run
tmpfs tmpfs 7.8G 0
2019 Oct 21
2
C8 regression / tmp on tmpfs
Does someone have a working tmp on tmpfs via
systemctl enable tmp.mount
under CentOS8/RHEL8? This seems to work straight in EL7 ...
# LANG=C systemctl enable tmp.mount
The unit files have no installation config (WantedBy, RequiredBy, Also,
Alias
settings in the [Install] section, and DefaultInstance for template units).
This means they are not meant to be enabled using systemctl.
Possible
2019 Oct 22
2
C8 regression / tmp on tmpfs
Am 22.10.19 um 04:52 schrieb Orion Poplawski:
> On 10/21/19 3:42 PM, Leon Fauster via CentOS wrote:
>> Does someone have a working tmp on tmpfs via
>>
>> systemctl enable tmp.mount
>>
>> under CentOS8/RHEL8? This seems to work straight in EL7 ...
>>
>>
>> # LANG=C systemctl enable tmp.mount
>> The unit files have no installation config
2002 Apr 29
1
Offtopic: nfs, tmpfs and `getfh failed: Operation not permitted'
Sorry this is off-topic, but I'm scrambling to get this system in,
google didn't help, and I'm sure someone on this list knows the answer
cold.
I'm trying to nfs-export a tmpfs disk. I saw a hint from a response
about ram disks... which leads to my guess that tmpfs simply doesn't
implement some method that nfsd needs.
I can probably survive without tmpfs, but I'd like to
2005 Mar 23
2
pauses sync'ing between tmpfs and disk on Linux 2.4.x
I've set up a 1GB tmpfs filesystem on a system with a single IDE disk and
2GB's of memory. I'm storing a large amount of RRD files (~300MB) on the
tmpfs filesystem to make their generation a bit speedier... this part works
great.
However, I want to rsync these files over from time to time to a directory on
the local filesystem (same physical server). I'm using rsync 2.6.4pre3
2020 Jul 25
3
tmpfs / selinux issue
Hi all,
I have some AVC in the logs and wonder how to resolve this: Under
EL8 (enforcing SElinux) I have /var/lib/php/session mounted as tmpfs.
# tail -1 /etc/fstab
tmpfs /var/lib/php/session tmpfs
defaults,noatime,mode=770,gid=apache,size=16777216,context="system_u:object_r:httpd_var_run_t:s0"
0 0
# df -a |grep php
tmpfs 16384 0 16384 0%
2006 Jun 23
2
Needed help to fix corrupted ext3 fs
I have been trying very hard to seek help with my very complex issue but
so far none have been successful. So I would like to try this mailing
list, maybe there are some experts who know what they're talking about.
Please refer to my experts-exchange question, all the required
information will be there. It is more practical to send you to the
webpage than paste out what I've done.
2020 Mar 27
2
Create VM w/ cache=none on tmpfs
Hi,
I've seen that in the past, libvirt couldn't start VMs when the disk
image was stored on a file system that doesn't support direct I/O
having the 'cache=none' configuration [0].
On the KubeVirt project, we have some storage tests on a particular
provider which does just that - try to create / start a VM whose disk
is on tmpfs and whose definition features
2011 Mar 11
1
run-init in tmpfs
Dear Sirs,
I've a question belonging to the run-init utility.
I'm trying to boot a full linux system from ram.
Therefore I provide a kernel and initrd from a tftp server.
The full rootfs is provided through a nfs-server and is at time a
cpio-archive. That archive shall be copied to the local client and
mounted in a tmpfs partition. After that, I want replace the oldroot bei
the root
2020 Jul 26
1
tmpfs / selinux issue
Am 26.07.20 um 12:23 schrieb Strahil Nikolov:
>
> ?? 25 ??? 2020 ?. 14:20:19 GMT+03:00, Leon Fauster via CentOS <centos at centos.org> ??????:
>> Hi all,
>>
>> I have some AVC in the logs and wonder how to resolve this: Under
>> EL8 (enforcing SElinux) I have /var/lib/php/session mounted as tmpfs.
>>
>>
>> # tail -1 /etc/fstab
>> tmpfs
2007 Apr 16
2
keeping indexes in tmpfs
While doing some testing with converting accounts while simulating
incoming mail load (no other pop/imap processes going but 4 processes
converting users), we found that we were maxing out the local disk in
the server with the index activity. To find out that it was the index
activity, I mounted a tmpfs for dovecot to keep indexes on, and the
system load dropped from 70 to 3 :)
Anyway, Timo
2009 Oct 10
1
Contributing Wiki article on tmpfs
Hi all,
As suggested on the forum by Phil
( https://www.centos.org/modules/newbb/viewtopic.php?topic_id=22594&forum=37&post_id=87597#forumpost87597 ) I would like to contribute a howto on how to put /tmp on tmpfs (or shm as it used to be called). I would also like to add a bit of background information on why you would possibly want such a thing.
Here are my wiki details:
wiki login: