Re: [tw] Re: nodejs TiddlyWiki consuming lots of mem comparing to my small wiki

2015-06-01 Thread Charlie Brown
God I pressed some key and sent the email mistakenly. So I will start again
with the measure. As you can see from the above, I upgraded my vhost
yesterday, so now I have more memory, but I'm still interested.
Basicly the measure shows that the nodejs wiki server takes about 209M
memory. Here's how I started the server:

/usr/lib/node_modules/tiddlywiki/tiddlywiki.js /var/www/tiddly --server 9000

Please tell me if I'm doing it wrong.

By the way, I'm using pm2 to manage the process. The parameter's are the
same. And the memory usage are about the same, too.
2015年6月2日 上午12:38于 "PMario" 写道:

> Hi Charlie,
>
> If you ssh into your instance and try:
>
> # top -n 1
>
> you may see something similar to this, if your host runs a unix system. My
> instance here is an almost empty ubuntu system.
>
> pmario@ubuntu:~$ top -n1
> top - 18:33:02 up 0 min,  1 user,  load average: 0,31, 0,08, 0,03
> Aufgaben: 232 total,   1 running, 231 sleeping,   0 stopped,   0 zombie
> %Cpu(s):  4,9 be,  6,2 sy,  0,0 ni, 73,3 un, 14,9 wa,  0,7 hi,  0,0 si,
> 0,0 st
> KiB Mem:   2040208 total,   272652 used,  1767556 free,23816 buffers
> KiB Swap:  2097148 total,0 used,  2097148 free.   152248 cached Mem
>
>   PID BENUTZER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+ COMMAND
>
>
> What you see here is the OS only.
>
> If you start your node server and do the command again. You'll see the
> difference. That's what node and TW server command actually need.
>
> hope that helps.
> -mario
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/UYutj8ieh6k/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at http://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/4f2a5861-63f2-48bc-875b-f548f9b93ac6%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAPF%2BgF8SaMgtW8xp_heWWbp_%2B9BqhmzN0akJuCEayj_cjE6sVg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: nodejs TiddlyWiki consuming lots of mem comparing to my small wiki

2015-06-01 Thread Charlie Brown
Yeah. I mean, I'm not that dumb:) I use free instead of top:
When I'm running the nodejs wiki server:

charlie@www:~$ free -h
 total   used   free sharedbuffers cached
Mem:  997M   819M   177M32M   116M   189M
-/+ buffers/cache:   513M   483M
Swap: 511M   444K   511M

charlie@www:~$ free -h
 total   used   free sharedbuffers cached
Mem:  997M   611M   386M32M   116M   189M
-/+ buffers/cache:   304M   692M
Swap: 511M   444K   511M
Hi Charlie,

If you ssh into your instance and try:

# top -n 1

you may see something similar to this, if your host runs a unix system. My
instance here is an almost empty ubuntu system.

pmario@ubuntu:~$ top -n1
top - 18:33:02 up 0 min,  1 user,  load average: 0,31, 0,08, 0,03
Aufgaben: 232 total,   1 running, 231 sleeping,   0 stopped,   0 zombie
%Cpu(s):  4,9 be,  6,2 sy,  0,0 ni, 73,3 un, 14,9 wa,  0,7 hi,  0,0 si,
0,0 st
KiB Mem:   2040208 total,   272652 used,  1767556 free,23816 buffers
KiB Swap:  2097148 total,0 used,  2097148 free.   152248 cached Mem

  PID BENUTZER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+ COMMAND


What you see here is the OS only.

If you start your node server and do the command again. You'll see the
difference. That's what node and TW server command actually need.

hope that helps.
-mario

-- 
You received this message because you are subscribed to a topic in the
Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/tiddlywiki/UYutj8ieh6k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/4f2a5861-63f2-48bc-875b-f548f9b93ac6%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAPF%2BgF8HqREd7-Zdf4Lr-Y3RSwyLUvTFqw9K-0opU%2BQJ-3N-7g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] nodejs TiddlyWiki consuming lots of mem comparing to my small wiki

2015-06-01 Thread Charlie Brown
Hi all,
I'm trying the nodejs server on my humble little virtual host, and it's 
costing 252.828 MB of total 512MB of its memory, while the dumped whole 
site is only 2MB.
Did I do something wrong?
Thanks in advance!

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/32de24a7-949b-451f-8062-80aaeef7cf26%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Display tiddlers in two columns

2015-05-09 Thread Charlie Brown
I see, so I can change the layout through css. I'll checkout the examples
when I'm less sleepy:).

Sincerely,
王文鑫
Charlie

On Sat, May 9, 2015 at 9:59 PM, Måns  wrote:

> Hi Charlie
>
> I am not currently aware of any specialized theme for showing tiddlers in
> a side-by-side column fashion.
>
> There are however ways to show tiddlers in generated lists or sub stories
> (correct me if I'm wrong) and that allows you to show them side by side by
> defining columns via css.
>
> @Jeremy uses flexbox <http://learnlayout.com/flexbox.html> on
> tiddlywiki.com. Check out http://tiddlywiki.com/#%24%3A%2F_tw5.com-styles for
> his tc-link-info class, which is used in :
> Articles
> Examples
> Latest
> Resources
> Tutorials
>
> Eric Shulmann has created StyleSheetShortCuts
> <http://www.TiddlyTools.com/#StyleSheetShortcuts> (for TW classic) which
> uses columns <http://learnlayout.com/column.html> (not supported in
> Internet Explorer). You can import his stylesheet tweaks tiddler into a TW5
> and tag it with $:/tags/Stylesheet
>
> Cheers Måns Mårtensson
>
> Den lørdag den 9. maj 2015 kl. 15.20.21 UTC+2 skrev Charlie Brown:
>>
>> Hi, I'm new to tiddlewiki (three days) but I'm really happy with it.
>> Thanks a lot!
>> Right now my tiddlers are short and thin, and display them in only one
>> column wastes too much spaces. Is there a theme or something so that I
>> could list them in two columns? I did some searching but found no result.
>>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/lVRs1qfXEsc/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at http://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/897449c2-ac20-4f96-bfda-246eeed394e0%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/897449c2-ac20-4f96-bfda-246eeed394e0%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAPF%2BgF_JufTTcc9pDFY-0nh57tQFGAsLhJ4rzOm9FwyxnM6aZw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Display tiddlers in two columns

2015-05-09 Thread Charlie Brown
Hi, I'm new to tiddlewiki (three days) but I'm really happy with it. Thanks 
a lot!
Right now my tiddlers are short and thin, and display them in only one 
column wastes too much spaces. Is there a theme or something so that I 
could list them in two columns? I did some searching but found no result.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d5265125-398e-4e0c-8a9a-bdff3d590fb4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.