My server has 24 cores, 16 GB RAM, and 8 SSDs on raid 0 (I think).  I've noticed it is now using a low of swap space, even though there is plenty of RAM available.  load average: 2.70, 2.54, 2.50 Mem:  16303072k total,  1546160k used, 14756912k free,     9200k buffers Swap:  2097144k total,   471084k used,  1626060k free,   552448k cached   Do you know what could be causing something like this and how I can fix it?  Thanks  Steve
I am running centos 5.8 with cpanel. Lately I am getting reports that my swap is full , but there is a lot of free memory  to use.  top - 10:33:43 up 133 days, 17:00,  1 user,  load average: 0.05, 0.03, 0.05   Tasks: 170 total,   1 running, 169 sleeping,   0 stopped,   0 zombie   Cpu(s):  2.1%us,  0.5%sy,  0.0%ni, 97.2%id,  0.0%wa,  0.0%hi,  0.2%si,  0.0%st   Mem:  24726100k total,  8255368k used, 16470732k free,   599560k buffers   Swap:  1046520k total,   984740k used,    61780k free,  3641828k cached     How do I solve this? The unused ram memory should be used instead of the swap. Or should I increase the swap ( and how do I do that ? ).  Thanks
I feel that I might have a complete misunderstanding here. If DNA has two strands, how does the machinery of RNA transcription determine which one to transcribe? Releasing bound ports on process exit How do I make sure that a socket bound to a port is properly released on process exit such that the port can be reused without bind() failing with EADDRINUSE? I've written a tiny program which just creates a socket, binds it to a fixed port, waits for a connection and then immediately terminates. When I rerun the program, the bind() call fails with EADDRINUSE, but if I wait a few minutes, it succeeds.  Is there a way I can explicitly "unbind" the socket, thereby freeing the port number? Why is the sum of two random variables a convolution? For long time I did not understand why the "sum" of two random variables is , whereas a mixture density function sum of $f(x)$ and $g(x)$ is $p\,f(x)+(1-p)g(x)$; the arithmetic sum and not their convolution. The exact phrase "the sum of two random variables" appears in google 146,000 times, and is elliptical as follows. If one considers an RV to yield a single value, then that single value can be added to another RV single value, which has nothing to do with convolution, at least not directly, all that is is a sum of two numbers. An RV outcome in statistics is however a collection of values and thus a more exact phrase would be something like "the set of coordinated sums of pairs of associated individual values from two RV's is their discrete convolution"...and can be approximated by the convolution of the density functions corresponding to those RV's. Even simpler language: 2 RV's of $n$-samples are in effect two n-dimensional vectors that add as their vector sum.           Please show the details of how the sum of two random variables are a convolution and a sum. Use XeLaTeX in Texmaker instead of pdfLaTeX How to solve this limit: $\lim\limits_{x\to0}\frac{(1+x)^{1/x}-e}x$? I tried to evaluate $$\lim_{x\to0}\frac{(1+x)^{1/x}-e}x$$but all my efforts were in vain . L'Hospital rule becomes very complicated. There are 8 crew members, The leading member wants that only a crew of 5 people or more could open a safe he bought, To each member he gave equal amount of keys, and locked the safe with several locks.  What's the minimal number of locks he should put:   at least 5 crew members would be required to open the safe? Any team of 5 crew members could open the safe, but none of the 4 team crew members.   1,2 stands individually of course. I'm going to install Linux on Lenovo B5400, which contains:   500GB Hybrid SSHD with a 8 GB SSD and 500 GB HDD   Designing partitions for my 2 Linux distros was quite easy before, when I had only HDD. I always had:   10GB for Linux distro (mounted as "/") 10GB for another distro (again "/"; for another distro; for testing purposes or to assure continuity when switching distros) 2GB for swap (used for both distros; no need to separate) 300GB+ for "/home" (used for both distros; different usernames eliminates possible conflicts)   It's simple, isn't it? I would like to keep this approach, but I know that SSD has its own specificity - it prefers to be read, continuous writing may affect its life span. I don't want to kill SSD in a year, so I would like to move some system partitions to HDD in order to protect SSD. As far as I know /tmp is one of often read&amp;written locations. How much space it needs? What else should be placed on HDD?  Or: how to design partitions to achieve exactly the same effect and to keep SSD as safe as possible?  I'd be grateful for your help. Add a dependency in Maven How to send parameter from jsp page to jasper file Use Listing in newenvironment I am trying to do a new environment or command (i tried both) where i can put in the name, description and code of a Method in c++ and it gives me a new section with the MethodName, the code listed and the description below. But i am not able to use the listings environment in a new command or new environment.. Consider my MWE   \documentclass[a4paper,11pt]{article} \usepackage{listings}  \newcommand{\method}[3] { \section{#1}\label{#1} \begin{lstlisting} #2 \end{lstlisting} #3 }   \begin{document}  \method{MethodName}{Method Void MethodName()}{Description of the Method blablabla}  \end{document}   How can I fix this?   I would prefer to do it using a macro since I don't need an ending. Let $A\in M_{n\times n}(\Bbb R)$ so that $I\notin span(A,A^2,...,A^n)$. Prove that $\det(A)=0$. Let $A\in M_{n\times n}(\Bbb R)$ so that $I\notin span(A,A^2,...,A^n)$. Prove that $\det(A)=0$.   I was thinking of showing $A$ is not invertible, meaning it has an eigenvalue of $0$. Since no matter the power you give to $A$, it is still not the identity, you can deduce that at least one eigenvalue is indeed $0$. However this doesn't work if you have different eigenvalues in the Matrix, so I got stuck.  Help will be most appreciated. Manually clear saved question drafts I've seen lately that new question editing is stored somewhere for later use if we wander off the new question without posting it and then return back to the page. Which is a good functionality addition in it's own right.  What I'd like to also have is the Discard this draft functionality that would clear form data and forget it. Somehow we find an answer in the meantime and the question isn't valid any more.  So having a Discard saved draft or something similar would be a nice contra-functionality to auto-save to remove stored data. The way it's implemented now seems too hidden hidden and unpredictable to users.  Additional edit  When adding hidden auto functionality usually means creating the opposite as well by either giving the possibility to preference of not having automatism at all or giving the possibility to clear what's been auto saved.  Let's see how GMail doesn't work (and I think we all agree that from UX perspective it does the job as expected:   User clicks Compose message User starts writing a new email message User decides to not send the message and checks their inbox User clicks Compose message again A clean form is presented to user (old one being part of drafts)   I'm not suggesting we should have something like Saved drafts but we surely should have the possibility to clear previous question draft.  Since this new functionality was introduced I should point out that I would use the discard functionality more frequently than the saved one. I do welcome saving messages, but discarding of saved drafts is anything but a rare situation one might want to do. It wouldn't be a problem if this was a 1% against 99%. To me it's more like 50/50.  Best possible solution  When providing saved drafts there should (from the UX perspective) be the opposite functionality as well. Namely discarding of it. But first thing we should be asking ourselves is:    do users more frequently need pre-filled saved question draft or do users more frequently need empty form with the possibility to populate it with a saved draft   User testing should provide the usage frequency between the two and the one that's more likely to happen (my guess is that there would be a big difference between the two) should be implemented. So one of these:   Pre-populate question fields with saved draft on question form load, while also providing a button to clear the draft and start writing anew without the need to manually clear all the fields (which would be the optimal solution in case of a single field form) Question form should always load empty while also having a button that would pre-populate it with a saved draft.   I think this would be the best consensus related to saved question drafts and their usage. But as we've seen this issue has been swept under the rug for an indefinite time. Can there be only one extension to the factorial? Usually, when someone says something like $\left(\frac12\right)!$, they are probably referring to the Gamma function, which extends the factorial to any value of $x$.  The usual definition of the factorial is $x!=1\times2\times3\times\dots x$, but for $x\notin\mathbb{N}$, the Gamma function results in $x!=\int_0^\infty t^xe^{-t}dt$.  However, back a while ago, someone mentioned that there may be more than one way to define the factorial for non-integer arguments, and so, I wished to disprove that statement with some assumptions about the factorial function.    the factorial   is a  for $x\in\mathbb{C}$ except at $\mathbb{Z}_{&lt;0}$ because of singularities, which we will see later. is a monotone increasing function that is concave up for $x&gt;1$. satisfies the relation $x!=x(x-1)!$ and lastly $1!=1$     From $3$ and $4$, one can define $x!$ for $x\in\mathbb{N}$, and we can see that for negative integer arguments, the factorial is undefined.  We can also see that $0!=1$.  Since we assumed $2$, we should be able to sketch the factorial for $x&gt;1$, using our points found from $3,4$ as guidelines.  At the same time, when sketching the graph, we remember $1$, so there can be no jumps or gaps from one value of $x$ to the next.  Then we reapply $3$, correcting values for $x\in\mathbb{R}$, since all values of $x$ must satisfy this relationship.  Again, because of $1$, we must re-correct our graph, since having $3$ makes the derivative of $x!$ for $x\in\mathbb N$ undefined.  So, because of $1$ and $3$, I realized that there can only be one way to define the factorial for $x\in\mathbb R$.  Is my reasoning correct?  And can there be only one extension to the factorial?    Oh, and here is a  to how I almost differentiated the factorial only with a few assumptions, like that it is even possible to differentiate.  Putting that in mind, it could be possible to define the factorial with Taylor's theorem? Catalina not allowing to change read/write permissions despite having SIP disabled Currently Running: macOS Catalina 10.15.1 Issue: Ever since I upgraded to Catalina, macOS is not allowing me to change read and write permissions on system protected files, hence, I am not able to tweak the system as per my likes and dislikes. Steps Tried To Solve The Issue: SIP, always remains . So, no question arises regarding any conflict with system integrity protection. I have also tried to force change the permissions on the system files I want to edit using certain brute force commands, which I can't recall the name of, right now. But, I have tried. As of now, I am still unable to change read and write permissions on system protected files and resources. Photoshop "Export > Export As" or "Export > Save For Web" in size 600px + auto suffix in filename UTF-8 -> ASCII in C language Present perfect for past action with present effect I have two identical folders, with same structure and contents like this:  folder_1   hello.txt   subfolder     byebye.txt  folder_2   hello.txt   subfolder     byebye.txt   if I compress them as tar.xz formats I get two different archives with two different file sizes (just a few bytes, but they're not identical).  $ cd folder_1 &amp;&amp; tar -Jcf archive.tar.xz * $ cd folder_2 &amp;&amp; tar -Jcf archive.tar.xz *   I get:  folder_1/archive.tar.xz != folder_2/archive.tar.xz   and of course if I md5sum or sha1sum them I'll get two different hashes  And that's my problem... I need to check if a provided archive is identical to the one I have in my storage. I cannot use hashing nor just check file sizes.  Using zip instead of tar.xz works as zip always produces identical achives from identical files. Why is this happening? Is there a way to prevent it? Which is more appropriate in the following sentence?     "I asked him to not judge her according to (or: based on) her beauty"   vs     "I asked him not to judge her according to (or:based on) her beauty"   or maybe you wouldn't choose either of the above, but something else? Can I enter the Schengen area with a German long-term visa through a different country? I am an Indian national. Right now I am staying in Israel. I will be moving to Germany on the last week of this month with german national visa directly from tel aviv. Ticket price of direct flight is high. So I am thinking to buy either Air France or LOT for travelling having layover at Paris or Poland. Am I allowed to do that? I mean is it mandatory to enter in Germany first? May I travel with these airlines with proper transit visa?