#foswiki 2013-09-12,Thu

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
frog_hi [00:34]
i want to reset some topics in my wiki like once a month, but save the old data. so there should be something like TopicJuly13, TopicAugust13 and Topic created from a template for the current month. also it would be great if a pdf of the last month could be send out via email. is there any way i can do this inside foswiki and not from the filesystem? [00:39]
......... (idle for 41mn)
***ChanServ sets mode: +o Lynnwood_ [01:20]
......... (idle for 44mn)
ChanServ sets mode: +o pharvey [02:04]
.................................. (idle for 2h45mn)
gac410 has left [04:49]
.................. (idle for 1h28mn)
ChanServ sets mode: +o MichaelDaum [06:17]
MichaelDaumBabar, about perl 5.10.1 on foswiki.org .... how about installing an up-to-date perl using plenv/perlbrew?
I lost faith in distros in catching up with a 21th century
that asside, the new dependency on a version.pm >= 0.77 kills updating plugins for a couple of clients.
the rhel and sles both fail out of the box installing such a plugin ... and presumably foswiki-1.2.0
no good idea
I'll ping George when he's back.
I think we have to revert this and come back to simple floats as version numbers
without any version->declare yadda
[06:19]
.... (idle for 18mn)
***ChanServ sets mode: +o CDot [06:40]
.... (idle for 15mn)
ChanServ sets mode: +o MichaelDaum_ [06:55]
jastlooks like BuildContrib in 01x01 is not compatible with perl 5.18
in 1.1.8 to be precise
never mind, I just had a *really* outdated version
wonder how that happened
[06:58]
MichaelDaumI am not sure whether we should use version.pm at all [07:01]
jastis there a writeup somewhere explaining why it was introduced in the first place? [07:01]
MichaelDaumhttp://foswiki.org/Development/ConvertToModernPerlVersionStrings
I just filed http://foswiki.org/Tasks/Item12583
[07:02]
jastoh yeah, seen that before, actually
but I have trouble recalling _anything_ this early in the day :)
[07:02]
MichaelDaumthere's been a constant back and forth discussion on http://foswiki.org/Tasks/Item12225 as well
heh :)
I just recently tried to configure->upgrade a few plugins for a new install on a SLESsp1 ... and things failled badly due to version.pm
[07:02]
jastby the way, have you tried using an up-to-date version.pm with old RHELs? [07:04]
MichaelDaumSLES11sp1 - sp3 all ship a 19th century perl [07:04]
jastwe'd be facing the same issues and have been thinking about it too [07:04]
MichaelDaumyes I tried ... and failed. other things failed on old perl as well, i.e. utf8
the client is now happy having a plenv based perl
[07:04]
jastif we wanted proper unicode in foswiki we'd have to depend on *at least* perl 5.12 [07:05]
MichaelDaumusing plenv + cpanm is really a brease.
breeze
[07:05]
jastI used perlbrew on one of our hosts [07:06]
MichaelDaumand tada...all the new perl features at your fingertips [07:06]
jastunfortunately our affected clients probably won't stand for it... they want reliable security updates [07:07]
MichaelDaumonly problems using a local perl are those perl packages that rely on binary libraries
such as ImagePlugin and CaptchaPlugin
there's nothing reliable in perl 5.8 or 5.10
[07:07]
jastwell *in theory* RHEL provides security updates [07:08]
MichaelDaumand cpanm can update as well [07:08]
jastI know, but who's going to install the updates, and possibly rebuild perl? not us, on who knows how many wikis, every time something is discovered [07:09]
MichaelDaumsame holds for security rpms
but I agree in genreal
everything installed not covered by the package management is in danger of rotten
[07:09]
jastclient's IT dept is usually okay with running whatever it is that installs all rpm-based updates
exactly
[07:10]
MichaelDaumproblem is
RHEL alread ships rotten meat
as well as SLES
[07:10]
jastyeah... especially since this is RHEL 5.x [07:10]
MichaelDaumRHELL
there really are only two options: (1) change the distro or (2) run a local perl
the third option (3) do nothing isn't really an option
[07:10]
jastboth probably to be rejected by client's IT dept
the best thing that is likely to actually happen at some point is that they upgrade to RHEL 6
[07:11]
MichaelDaumin rejecting requirements they wont meet business objectives either [07:12]
jast(RHEL 6 was first released Nov 2010) [07:13]
MichaelDaumthere's some site listing shipper perls per distro ... where was it ...
probably pointless as even the latest rehls or sleses come with rotten perl
I had the case where IT required a specific outdated perl to be installed for a monitoring or backup tool to still function
updating perl was no option at all, even updating the distro
they broke their datacenter tools due to incompatible perl updates
but did not follow on the lesson to use a local _old_ perl for their _old_ software
and let the rest use whatever perl is installed system wide
so for the sake of stability: use a local perl
don't touch once approved
[07:13]
ck-123Hi, I am trying to migrate from TWIKI to Foswiki and I realized performance issues. I cannot find out where the time is lost in detail. (I measured time for a topic just using the scripts like described in http://foswiki.org/Support/Question652 , and it takes only 3 seconds. Much faster compared to TWIKI 11s. BUT when calling the topic in the browser it takes 40! seconds in foswiki compared to 11.5 secs in TWIKI)
Twiki used an old apache with mod_perl and Foswiki was setup to use apache2 with fcgid... but obviously there is a misconfiguration. Someone can give me a hint, how to find that?
[07:27]
.... (idle for 18mn)
***ChanServ sets mode: +o MichaelDaum_ [07:46]
...... (idle for 27mn)
ck-123Wah... please ignore my previous comment. Was a wrong call to the view script. [08:13]
.... (idle for 19mn)
BabarMichaelDaum: that's why it wants to deinstall it
FreeBSD keeps up-to-date pretty nicely
but one has to do the upgrades..
[08:32]
MichaelDaumBabar, which perl does FreeBSD ship? [08:34]
Babarand I really didn't feel like upgrading everything last night
MichaelDaum: I think they provide 5.12 and 5.14
it was written alongside the removal of 5.10, because it says it's obsolete and should be replaced with this or that
[08:35]
MichaelDaum5.12 was release April 12, 2010 [08:35]
Babarwhen I've finished upgrading the system, without breaking anything, I'll see again perl [08:35]
MichaelDaumMay 14, 2011 saw perl 5.14
not what I call up-to-date
the problem of old perls ... and outdated cpan modules ... is really an issue
in terms of moving forward, for supporting foswiki as well as to install foswiki reliably
[08:36]
BabarMichaelDaum: you're like 5.18.1 which is like a month old? :) [08:39]
MichaelDaum... works perfect [08:39]
Babars/re/d/
"Has expired: no longer under development, use lang/perl5.16 or lang/perl5.14"
Babar wishes he documented last time he did the upgrade...
Babar wishes he took the time to put all that in chef.
[08:39]
............ (idle for 56mn)
ck-123MichaelDaum. Do you have experience in interpreting NYTProf results of calling the view scripts? [09:37]
***ChanServ sets mode: +o pharvey
ChanServ sets mode: +o pharvey
[09:41]
jastseveral of us do, I suppose [09:42]
***ChanServ sets mode: +o pharvey [09:43]
ck-123I am struggling with a performance problem migrating from twiki to foswiki. [09:48]
jastyeah, you mentioned it before. after you changed your call to the view script, the result became similar to the result in the browser? [09:49]
ck-123measuring the view script on a certain topic takes in twiki 11s and on foswiki 1.30min
yes
so its not the apache config... its somewhere else
I then run the script with nytprof
[09:49]
jastin case you do a nytprof run, feel free to share the results and we can have a look – please note that nytprof sometimes includes private data in its output; you may want to check and sanitize [09:50]
ck-123whats the best way to share the results? (the whole stuff is 130MB)...
just a moment...
[09:51]
jastcompressed? [09:52]
***ChanServ sets mode: +o Lynnwood [09:55]
ck-123here is the first page for overview
http://imageshack.us/f/32/x5lo.png/
[10:00]
MichaelDaumck-123, some observations.
rcslite's readTo ... known performance probmel ... please switch to rcs wrap again
next, LdapContrib has problems reading the cache file from disk
as well as checking group permissions efficitently
[10:05]
ck-123I tried already to change to wrap.... but the it takes 2.30 mins instead of 1.30 [10:07]
jastI gotta go for a while... lunch break :) [10:08]
ck-123I too :) [10:08]
***ChanServ sets mode: +o MichaelDaum
ChanServ sets mode: +o MichaelDaum_
[10:11]
MichaelDaum_it seems you have lots of groups, either large ones or deeply nested or both
also: watch out for the topic you are testing. does it have a lot of revisions?
argh ... network outage
[10:16]
....... (idle for 30mn)
stephanbhey... maybe a stupid question, but i installed foswiki and didn't get a wysiwig editor when editing text.. the documentation says it should be enabled by default, where can i look if something went wrong? [10:46]
jastworking/logs/error.log in the foswiki root dir might be a good first place to look [10:47]
stephanbnothing in there... i installed it via debian packages, is it possible that this caused the error?
the documentation says that i should check in " Enable the WysiwygPlugin in configure."
what is meant by "configure" there?
[10:48]
pfelgo to <your hostname>/bin/configure [10:55]
stephanbpfel, thanks! i just figured that debian doesn't install the plugin automatically [10:55]
strange, tinymce and the wysiwyg plugin are installed, but there is no editor shown when i edit any article... any ideas on that? [11:04]
***ChanServ sets mode: +o Lynnwood_ [11:05]
stephanbnevermind, it was some jquery error [11:08]
.... (idle for 18mn)
GithubBot[foswiki] FoswikiBot pushed 1 new commit to master: http://git.io/bSFXVQ
foswiki/master 8f0f027 MichaelDaum: Item12396: approaching a first beta...
[11:26]
***GithubBot has left [11:26]
FoswikiBothttp://foswiki.org/Tasks/Item12396 [ Item12396: initial release ] [11:26]
..... (idle for 20mn)
pfelis a plainfile store faster than rcswrap/lite ? [11:46]
***ChanServ sets mode: +o MichaelDaum [11:55]
jastprobably... but PFS is considered experimental [11:55]
.... (idle for 19mn)
***ChanServ sets mode: +o Lynnwood_ [12:14]
pfeli am getting a lot of time wasted in Foswiki::Sandbox::CORE::readline in foswiki with rcswrap [12:16]
FoswikiBothttp://trunk.foswiki.org/System/PerlDoc?module=Foswiki::Sandbox::CORE [12:16]
pfel... in line 541, it is reading something that is piped [12:17]
jastyou're probably not seeing the time wasted in rcs itself
which is likely to be much more
[12:21]
pfelis it possible to profile rcs commands? or fine tune rcs for performance? [12:23]
Babargmc: around?
pfel: rcslite should be much faster though
[12:33]
jastunless you have tons of revisions [12:35]
Babaror huge files [12:35]
CDotpfel: if you want to fine tune rcs, go ahead; you will be joining a long list of people who have tried ;-)
as Babar says, rcslite should be faster for small numbers of revisions
PFS only works with the trunk codebase, and can't be used with 1.1.8.
[12:40]
***ChanServ sets mode: +o Lynnwood_ [12:47]
MichaelDaumpfel, see the findings here http://foswiki.org/Tasks/Item11983, http://foswiki.org/Tasks/Item11454 and http://foswiki.org/Tasks/Item12500 [12:50]
FoswikiBot[ Item11454: RcsLite performance is bad on topics with long histories ] [ Item12500: %QUERY's getField is highly inefficient ] [12:50]
MichaelDaumthe root cause of slowness in current 1.1.x code is due to it going on a slow code path forking rcs far too often
instead of reading the info from the txt file itself
there is an experimental patch contrib for 1.1.x
the real fix received much more attention on foswiki/trunk resulting in a thorough rework of various storage code and unit tests
[12:51]
ck-123thanks for your information. Yes, we have indeed many large groups. The amount of revisions of the topic is 24. [12:54]
GithubBot[foswiki] FoswikiBot pushed 1 new commit to master: http://git.io/dJUhLw
foswiki/master 250509f MichaelDaum: Item12396: fixed lexicon param, default translation, lower-casing language param...
[12:58]
***GithubBot has left [12:58]
FoswikiBothttp://foswiki.org/Tasks/Item12396 [ Item12396: initial release ] [12:58]
MichaelDaumck-123, have you got a large Main web?
in this case try this patch http://pastebin.com/WRg3nUiS to prevent LdapContrib from searching the Main web for more users and groups
as thats rather slow
[13:04]
ck-123Do you mean large including subwebs? Then yes.. for sure [13:13]
MichaelDaumno, just the Main web. if it is large then TopicUserManager will become slower and slower.
unfortunately LdapContrib's user manager falls back to TopicUserManager ... which slows down things considerably on large wikis
try a new nyprof using the above patch ...
[13:17]
GithubBot[foswiki] FoswikiBot pushed 1 new commit to master: http://git.io/WmU8uw
foswiki/master 56e4d0a MichaelDaum: Item12396: added dependency to MetaDataPlugin ...
[13:26]
***GithubBot has left [13:26]
..... (idle for 24mn)
ChanServ sets mode: +o Lynnwood_ [13:50]
ck-123ok, I just pached the usermanager but no remarkable difference... Btw: clicking "more topic actions" takes also ages on this topic [13:52]
........ (idle for 36mn)
***ChanServ sets mode: +o Lynnwood_ [14:28]
.... (idle for 18mn)
Babargmc: I need you.
upgrading foswiki.org's perl from 5.10.1 to 5.16.2. Please fasten your seatbelts and stay calm.
[14:46]
.......... (idle for 46mn)
***ChanServ sets mode: +o MichaelDaum [15:35]
..... (idle for 21mn)
ChanServ sets mode: +o Lynnwood_ [15:56]
........ (idle for 35mn)
ChanServ sets mode: +o MichaelDaum [16:31]
MichaelDaumBabar, foswiki.org returns a 503
ck-123, "more topic actions" is a known resource problem. install NatSkin to make it go away.
Babar, 500 internal server error on foswiki.org ... is that due to your current actions?
[16:33]
BabarMichaelDaum: most likely
still compiling
[16:34]
***ChanServ sets mode: +o MichaelDaum [16:40]
.... (idle for 17mn)
ChanServ sets mode: +o MichaelDaum [16:57]
.............. (idle for 1h9mn)
ChanServ sets mode: +o Lynnwood_ [18:06]
................................ (idle for 2h38mn)
LiKdoes anybody know what's up with foswiki.org? [20:44]
..... (idle for 21mn)
read the log of todays IRC, good luck with the perl upgrade ;-) [21:05]
***LiK has left [21:06]
..................... (idle for 1h43mn)
Babarso, did I at least fix it? No :(
crap
[22:49]
ok, disabled fcgid
seems to work somehow
should have done that much sooner, sorry about that
[23:01]
***ChanServ sets mode: +o pharvey [23:10]
ChanServ sets mode: +o pharvey [23:18]

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)